Get active RBAC roles for a token
Returns a list of currently active roles for the token contract.
GET
TypeScript
Path Parameters
The token link id
Response
Successfully retrieved the list of active roles
Active RBAC roles on the contract, keyed by role name (e.g. DEFAULT_ADMIN_ROLE, MINTER_ROLE). Each entry contains the on-chain role hash, a human-readable description, and the list of accounts currently granted that role.
Example:
{
"DEFAULT_ADMIN_ROLE": {
"roleHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
"description": "DEFAULT_ADMIN_ROLE",
"accounts": [
{
"accountAddress": "0xC2c4e1Db41F0bB97996D0eD0542D2170d146FB66",
"dateOfGrant": "2024-07-01T00:00:00.000Z"
}
]
}
}Previous
Get deterministic address for contract deploymentGet a deterministic address for contract deployment. The address is derived from the contract's bytecode and provided salt. This endpoint is used to get the address of a contract that will be deployed in the future.
Next
TypeScript