api.entities.types.CheckRolesResult - PolymeshAssociation/polymesh-sdk GitHub Wiki

Interface: CheckRolesResult

api/entities/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

api/entities/types.ts:701


missingRoles

Optional missingRoles: Role[]

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

Defined in

api/entities/types.ts:693


result

result: boolean

whether the signer possesses all the required roles or not

Defined in

api/entities/types.ts:697