# canonicalNode

> **canonicalNode**(`node`): [`GrantNode`](/reference/filoz/keysmith/type-aliases/grantnode/)

Defined in: [packages/keysmith/src/derive.ts:478](https://github.com/FilOzone/synapse-sdk/blob/3eddbd10de185cd5351f9dfc8401ed48284e19a3/packages/keysmith/src/derive.ts#L478)

A grant node with path and salt canonical. The node is signed or bound into the wrap's AAD,
so it is written only in this form.

## Parameters

| Parameter | Type |
| ------ | ------ |
| `node` | `string` |

## Returns

[`GrantNode`](/reference/filoz/keysmith/type-aliases/grantnode/)