Skip to main content
Version: 31.0.x

Interface: AccountWithSignature

Defined in: src/api/procedures/types.ts:725

Properties​

authSignature​

authSignature: string

Defined in: src/api/procedures/types.ts:745

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

Target Id authorization consists of the target Identity (to which the secondary account will be added), 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


secondaryAccount​

secondaryAccount: Modify<PermissionedAccount, { account: string | Account; permissions: PermissionsLike; }>

Defined in: src/api/procedures/types.ts:731

The secondary Account along with its permissions to be added

Note​

This account should not be linked to any other Identity