Skip to main content
Version: 31.0.x

Interface: RegisterIdentityParams

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

Properties​

createCdd?​

optional createCdd?: boolean

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

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

Note​

as of chain v8, cdd_register_did/cdd_register_did_with_cdd are deprecated and no longer attach a CustomerDueDiligence claim, so this flag no longer has any on-chain effect


expiry?​

optional expiry?: Date

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

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

Note​

as of chain v8, this no longer has any on-chain effect (see createCdd)


secondaryAccounts?​

optional secondaryAccounts?: Modify<PermissionedAccount, { permissions: PermissionsLike; }>[]

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

(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


targetAccount​

targetAccount: string | Account

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

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