@polymeshassociation/polymesh-sdk / Modules / types / CheckRolesResult
types.CheckRolesResult
Result of a checkRoles call
checkRoles
message
missingRoles
result
• Optional message: string
Optional
string
optional message explaining the reason for failure in special cases
Defined in
types/index.ts:988arrow-up-right
• Optional missingRoles: Role[]
Role
required roles which the Identity DOESN'T have. Only present if result is false
false
types/index.ts:980arrow-up-right
• result: boolean
boolean
whether the signer possesses all the required roles or not
types/index.ts:984arrow-up-right
Last updated 3 years ago
Was this helpful?