types.CheckRolesResult - PolymeshAssociation/polymesh-sdk GitHub Wiki

Interface: CheckRolesResult

types.CheckRolesResult

Result of a checkRoles call

Table of contents

Properties

Properties

message

Optional message: string

optional message explaining the reason for failure in special cases

Defined in

types/index.ts:1082


missingRoles

Optional missingRoles: Role[]

required roles which the Identity DOESN'T have. Only present if result is false

Defined in

types/index.ts:1074


result

result: boolean

whether the signer possesses all the required roles or not

Defined in

types/index.ts:1078