Grant authority

circle-check
post
/v1/tokens/grant_authority
Body
actionstring · enumRequired

The action of the transaction: Grant or Revoke.

Possible values:
authority_addressstringRequired

The authority address to grant or revoke.

Example: 0x9E1E9688A44D058fF181Ed64ddFAFbBE5CC742Ab
authority_typestring · enumRequired

The authority type of the transaction: Mint, MintTokens, Pause, Burn, Blacklist, UpdateMetadata.

Possible values:
chain_idinteger · int64Required

The chain id of the transaction.

Example: 1212101
nonceinteger · int64Required

The nonce of the transaction.

Example: 0
tokenstringRequired

The token address to operate.

Example: 0x6ADE9688A44D058fF181Ed64ddFAFbBE5CC742Ac
valueone ofRequiredDefault: 0
stringOptional

The allowance value of tokens to grant, only works for MintTokens type.

Example: 1500000000
Responses
chevron-right
200Success
application/json

Represents a transaction hash returned by the API.

hashstringRequiredExample: 0xf55f9525be94633b56f954d3252d52b8ef42f5fd5f9491b243708471c15cc40c
post
/v1/tokens/grant_authority

Last updated