Skip to main content
Version: 25.1.x

Interface: ChildKeyWithAuth

api/procedures/types.ChildKeyWithAuth

Properties

authSignature

authSignature: `0x${string}`

Off-chain authorization signature generated by key signing of the target Id authorization

Target Id authorization consists of the target Identity (which will become the parent of the child Identity), off chain authorization nonce of the target Identity and expiry date (same as expiresAt value) until which the off chain authorization will be valid. Signature has to be generated encoding the target Id authorization value in the specified order.

Note

Nonce value can be fetched using Identity.getOffChainAuthorizationNonce Signature can also be generated using the method accountManagement.generateOffChainAuthSignature

Defined in

api/procedures/types.ts:1677


key

key: string | Account

The key that will become the primary key of the new child Identity

Note

This key should not be linked to any other Identity

Defined in

api/procedures/types.ts:1666