# Function: delegationId()

```ts
function delegationId(token): Promise<string>;
```

Defined in: [packages/core/src/identity/ucan.ts:125](https://github.com/leifriksheim/minca/blob/main/core/src/identity/ucan.ts#L125)

A token's id: the content id of its canonical form, signature included (spec 02 §2)

## Parameters

| Parameter | Type |
| ------ | ------ |
| `token` | [`Delegation`](https://minca.dev/api/core/interfaces/Delegation.md) |

## Returns

`Promise`\<`string`\>
