Check which roles an account holds on a stock token contract
Queries the on-chain role assignments for a specific account. When theDocumentation Index
Fetch the complete documentation index at: https://docs.trusset.org/llms.txt
Use this file to discover all available pages before exploring further.
role query parameter is provided, checks a single role. When omitted, returns all roles for the account.
Valid roles: ISSUER, SUB_ISSUER, CONTROLLER, LEGAL_OPERATOR.
ISSUER, SUB_ISSUER, CONTROLLER, LEGAL_OPERATOR.hasRole boolean or a roles map depending on whether a specific role was queried.