Queries
Check Role
Check which roles an account holds on a stock token contract
GET
Queries the on-chain role assignments for a specific account. When the
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.
Path Parameters
string
required
Address of the stock token contract.
string
required
Ethereum address to check.
Query Parameters
string
Specific role to check. When omitted, all roles are returned. Must be one of:
ISSUER, SUB_ISSUER, CONTROLLER, LEGAL_OPERATOR.Response Fields
boolean
Request status.
object
Role check result. Contains either a single
hasRole boolean or a roles map depending on whether a specific role was queried.