Skip to main content

/tokens/:identifier:/roles/:address:

Returns roles detalils for a specific address of a given token

Parameters

  • identifier REQUIRED(string) - Search by token identifier
  • address: REQUIRED (string) - The Address to query.

Returns

  • address: (string) Account bech32 address
  • canLocalMint: (boolean)
  • canLocalBurn: (boolean)
  • roles: (array[string])

Example

Request

curl -X 'GET' \
'https://elrond-api.public.blastapi.io/tokens/ASTRO-91f2cc/roles/erd1m83yu75aw6r0vmznpet78jsguww3fuqll0k2rz64saf8e6p3e24s3zrap2' \
-H 'accept: application/json'

Result

[
{
"address": "string",
"canLocalMint": false,
"canLocalBurn": false,
"roles": [
"string"
]
}
]