# Function: signPurge()

```ts
function signPurge(
   signKey, 
   topic, 
   nonce, 
   ids
): Promise<string>;
```

Defined in: [packages/core/src/inbox/inbox.ts:200](https://github.com/leifriksheim/minca/blob/main/core/src/inbox/inbox.ts#L200)

Signs a relay's purge challenge with the inbox's signing key

## Parameters

| Parameter | Type |
| ------ | ------ |
| `signKey` | `Uint8Array` |
| `topic` | `string` |
| `nonce` | `string` |
| `ids` | readonly `string`[] \| `null` |

## Returns

`Promise`\<`string`\>
