Skip to main content
Version: v30.0.x

Interface: CheckPermissionsResult<Type>

Defined in: src/api/entities/types.ts:762

Result of a checkPermissions call. If Type is Account, represents whether the Account has all the necessary secondary key Permissions. If Type is Identity, represents whether the Identity has all the necessary external agent Permissions

Type Parameters

Type Parameter

Type extends SignerType

Properties

message?

optional message?: string

Defined in: src/api/entities/types.ts:774

optional message explaining the reason for failure in special cases


missingPermissions?

optional missingPermissions?: Type extends Account ? SimplePermissions : TxTag[] | null

Defined in: src/api/entities/types.ts:766

required permissions which the signer DOESN'T have. Only present if result is false


result

result: boolean

Defined in: src/api/entities/types.ts:770

whether the signer complies with the required permissions or not