Grant authority
For action type, "Grant" means grant authority to an address, "Revoke" means revoke authority from an address.
For more details on Authority type, please refer to Token Authority
post
Body
all ofOptional
Responses
200Success
application/json
400
Client error
application/json
404
Resource not found
application/json
408
Request timeout
application/json
422
Business logic error
application/json
500
Internal server error
application/json
post
POST /v1/tokens/grant_authority HTTP/1.1
Host: api.testnet.1money.network
Content-Type: application/json
Accept: */*
Content-Length: 401
{
"action": "Grant",
"authority_address": "0x9E1E9688A44D058fF181Ed64ddFAFbBE5CC742Ab",
"authority_type": "MasterMintBurn",
"chain_id": 1212101,
"nonce": 0,
"token": "0x6ADE9688A44D058fF181Ed64ddFAFbBE5CC742Ac",
"value": "0",
"signature": {
"r": "72956732934625920503481762689501378577921804342307439094906376029324416116949",
"s": "29902520081700531224291681396692026253288382272435451874524203378285409371412",
"v": "1"
}
}
{
"hash": "0xf55f9525be94633b56f954d3252d52b8ef42f5fd5f9491b243708471c15cc40c"
}
Last updated