api.procedures.types.ChildKeyWithAuth - PolymeshAssociation/polymesh-sdk GitHub Wiki

Interface: ChildKeyWithAuth

api/procedures/types.ChildKeyWithAuth

Table of contents

Properties

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:1673


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:1662