Skip to main content
Version: 21.0.x

Interface: RegisterIdentityParams

api/procedures/types.RegisterIdentityParams

Properties

createCdd

Optional createCdd: boolean

(optional) also issue a CDD claim for the created DID, completing the onboarding process for the Account

Defined in

api/procedures/types.ts:392


expiry

Optional expiry: Date

(optional) when the generated CDD claim should expire, createCdd must be true if specified

Defined in

api/procedures/types.ts:396


secondaryAccounts

Optional secondaryAccounts: Modify<PermissionedAccount, { permissions: PermissionsLike }>[]

(optional) secondary accounts for the new Identity with their corresponding permissions.

Note

Each Account will need to accept the generated authorizations before being linked to the Identity

Defined in

api/procedures/types.ts:388


targetAccount

targetAccount: string | Account

The Account that should function as the primary key of the newly created Identity. Can be ss58 encoded address or an instance of Account

Defined in

api/procedures/types.ts:383