TRON — SolidityNode API
API reference for TRON. All methods ->
wallet/getaccount
Retrieves account information.
Parameters
address(string; hex; required): an account address.
Request example
curl -X POST 'https://rpc.ankr.com/premium-http/tron/YOUR_ANKR_API_KEY/wallet/getaccount' \
-H 'Content-Type: application/json' \
-d '{
"address": "41E552F6487585C2B58BC2C9BB4492BC1F17132CD0"
}'
Response example
[
{
"blockNumber": 49989959,
"contractResult": [
""
],
"blockTimeStamp": 1680582663000,
"receipt": {
"net_usage": 268
},
"id": "1dca7ae3d0fc5b73b5bc3ede1d2eb1b63fc128fce39196088a2198ff83fbc5ed"
},
{
"blockNumber": 49989959,
"contractResult": [
""
],
"blockTimeStamp": 1680582663000,
"receipt": {
"net_usage": 265
},
"id": "04d86b079842247e14cd0c4648e315b78c861eb91abcaf4e022f88155b73f628"
},
{
"blockNumber": 49989959,
"contractResult": [
""
],
"blockTimeStamp": 1680582663000,
"receipt": {
"net_usage": 280
},
"id": "a1b550fa6681c4afc90f619a2fa4ca26305b09bc964bef5a833123626e451391"
}
]
wallet/listwitnesses
Retrieves the list of witnesses.
Parameters
None.
Request example
curl -X GET 'https://rpc.ankr.com/premium-http/tron/YOUR_ANKR_API_KEY/wallet/listwitnesses'
Response example
{
"witnesses": [
{
"address": "4100e9fdbd1d24ab56996bd37d76fb7b16dcf62ff1",
"voteCount": 1087436,
"url": "https://www.tronmacau.com"
},
{
"address": "41012f81bd368f632fb22b9ddfeb284155f1f04198",
"voteCount": 314,
"url": "https://firekraken.media"
},
{
"address": "4101c17562ee5a1ecb60f9ea6e49ef94ec0de99580",
"voteCount": 377,
"url": "https://tronpad.com"
},
{
"address": "41021957c4576cbeae8bdf0576248e3e486a4cf3fa",
"voteCount": 5,
"url": "HTTPS://BEFREE"
},
{
"address": "41022939a4a06cbc7b384096c1af8657ec435173af",
"voteCount": 1404388255,
"url": "antinvestmentgroup",
"totalProduced": 895427,
"totalMissed": 1119,
"latestBlockNum": 49996531,
"latestSlotNum": 560200795,
"isJobs": true
},
{
"address": "4102a0ed82a9609e7ea9155f00137dc3fce818033f",
"voteCount": 98954,
"url": "XREGlobal.com"
}
]
}
wallet/getassetissuelist
Retrieves the list of all tokens.
Parameters
None.
Request example
curl -X GET 'https://rpc.ankr.com/premium-http/tron/YOUR_ANKR_API_KEY/wallet/getassetissuelist'
Response example
{
"assetIssue": [
{
"owner_address": "414d1ef8673f916debb7e2515a8f3ecaf2611034aa",
"name": "53454544",
"abbr": "53454544",
"total_supply": 100000000000,
"trx_num": 1000000,
"num": 1,
"start_time": 1529987043000,
"end_time": 1530342060000,
"description": "536573616d657365656420746f6b656e7320666f7220636f6d6d756e697479207265776172647320616e6420534545446765726d696e61746f7220696e766573746d656e74206f6620636f6d6d756e6974792d766f7465642070726f6a656374732e",
"url": "687474703a2f2f7777772e736573616d65736565642e6f7267",
"id": "1000001"
},
{
"owner_address": "410b53ce4aa6f0c2f3c849f11f682702ec99622e2e",
"name": "545258",
"abbr": "545258",
"total_supply": 99000000000,
"trx_num": 1000000,
"num": 1,
"start_time": 1529989896000,
"end_time": 1537632000000,
"description": "74726f6e546f6b656e",
"url": "68747470733a2f2f74726f6e2e6e6574776f726b",
"id": "1000002"
},
{
"owner_address": "41d13433f53fdf88820c2e530da7828ce15d6585cb",
"name": "49504653",
"abbr": "49504653",
"total_supply": 100000000000,
"trx_num": 1000000,
"num": 1,
"start_time": 1529990700000,
"end_time": 1537632000000,
"description": "4950465320636f696e",
"url": "687474703a2f2f",
"id": "1000003"
}
]
}
wallet/getpaginatedassetissuelist
Retrieves the list of all tokens by pagination.
Parameters
offset(integer; required): the index of the start token.limit(integer; required): the amount of tokens per page.
Request example
curl -X POST 'https://rpc.ankr.com/premium-http/tron/YOUR_ANKR_API_KEY/wallet/getpaginatedassetissuelist' \
-H 'Content-Type: application/json' \
-d '{
"offset": 0,
"limit": 10
}'
Response example
{
"assetIssue": [
{
"owner_address": "416b1171698969a36e5eb2eb6ea7aa9204d5e10cfc",
"name": "21212121474f4c44434f494e",
"abbr": "474f4c44",
"total_supply": 9000000000000000000,
"trx_num": 1000000,
"num": 1000,
"start_time": 1556094180182,
"end_time": 1871799840182,
"description": "474f4c44",
"url": "68747470733a2f2f676f6c64636861696e2e78797a",
"id": "1002341"
},
{
"owner_address": "418f82a73b283c7bf8515fa3cc2c0399d4d593e2e3",
"name": "21212121476f6c6453706f7421212121",
"abbr": "476f6c64",
"total_supply": 99000000000,
"frozen_supply": [
{
"frozen_amount": 2000000000,
"frozen_days": 30
}
],
"trx_num": 1000000,
"num": 100,
"start_time": 1559106000646,
"end_time": 1609451940646,
"description": "476f6c6453706f7420666f6c6c6f7720746865207072696365206f6620676f6c6420696e2074686520626c6f636b636861696e212121204f776e6572732077696c6c2067657420414753202861476f6c6453706f74292064726f70206d6f6e74686c792e20476f6c6453706f742077696c6c20626520757067726164656420746f206120747263323020696e20323032302e20496e7665737420696e2074686520676f6c64206d61726b657421212120476c6f62616c20476f6c6420547261646572732121",
"url": "7777772e676f6c6473706f742e6575",
"id": "1002467"
}
]
}
wallet/getpaginatedproposallist
Retrieves the list of all proposals by pagination.
Parameters
offset(integer; required): the index of the proposals starting position.limit(integer; required): the amount of proposals per page.
Request example
curl -X POST 'https://rpc.ankr.com/premium-http/tron/YOUR_ANKR_API_KEY/wallet/getpaginatedproposallist' \
-H 'Content-Type: application/json' \
-d '{
"offset": 0,
"limit": 10
}'
Response example
{
"proposals": [
{
"proposal_id": 1,
"proposer_address": "41c189fa6fc9ed7a3580c3fe291915d5c6a6259be7",
"parameters": [
{
"key": 9,
"value": 1
}
],
"expiration_time": 1539259200000,
"create_time": 1538981229000,
"approvals": [
"41c189fa6fc9ed7a3580c3fe291915d5c6a6259be7",
"4167e39013be3cdd3814bed152d7439fb5b6791409",
"418c66e4883782b793fcf2dcb92b23eece57769499",
"41bac7378c4265ad2739772337682183b8864f517a",
"414a193c92cd631c1911b99ca964da8fd342f4cddd",
"41d25855804e4e65de904faf3ac74b0bdfc53fac76",
"4193a8bc2e7d6bb1bd75fb2d74107ffbda81af439d",
"41d1dbde8b8f71b48655bec4f6bb532a0142b88bc0",
"417b88db9da8aacae0a7e967d24c0fc00129e815f6",
"41243accc5241d97ce79272b06952ee88a34d8e1f9",
"41f70386347e689e6308e4172ed7319c49c0f66e0b",
"41d49bf5202b3dba65d46a5be73396b6b66d3555aa",
"41beab998551416b02f6721129bb01b51fceceba08",
"412fb5abdf8a1670f533c219e7251fe30b89849359",
"4116440834509c59de4ee6ba4933678626f451befe",
"414d1ef8673f916debb7e2515a8f3ecaf2611034aa",
"415863f6091b8e71766da808b1dd3159790f61de7d",
"4138e3e3a163163db1f6cfceca1d1c64594dd1f0ca",
"41fc45da0e51966bd1af2cb1e0f66633f160603a8b",
"41d376d829440505ea13c9d1c455317d51b62e4ab6",
"41b487cdc02de90f15ac89a68c82f44cbfe3d915ea",
"411103d62d8299e90fa011b4ce7fc6ba151e5f1a23"
],
"state": "APPROVED"
}
]
}
wallet/getpaginatedexchangelist
Retrieves the list of all exchange pairs by pagination.
Parameters
offset(integer; required): the index of the starting exchange pair.limit(integer; required): the amount of exchange pairs per page.
Request example
curl -X POST 'https://rpc.ankr.com/premium-http/tron/YOUR_ANKR_API_KEY/wallet/getpaginatedexchangelist' \
-H 'Content-Type: application/json' \
-d '{
"offset": 0,
"limit": 10
}'
Response example
{
"exchanges": [
{
"exchange_id": 1,
"creator_address": "41f596e85bfd042744f76880979a133da0728679d9",
"create_time": 1539673398000,
"first_token_id": "31303030353634",
"first_token_balance": 5,
"second_token_id": "5f",
"second_token_balance": 4326459
},
{
"exchange_id": 2,
"creator_address": "41cd3444bd2d493628b14d6dcec93181e15f94d169",
"create_time": 1541678472000,
"first_token_id": "31303031333035",
"first_token_balance": 1,
"second_token_id": "5f",
"second_token_balance": 3015102
},
{
"exchange_id": 3,
"creator_address": "412d7bdb9846499a2e5e6c5a7e6fb05731c83107c7",
"create_time": 1541717787000,
"first_token_id": "31303030303138",
"second_token_id": "5f"
}
]
}
wallet/getnextmaintenancetime
Retrieves the time interval till the next vote round.
Parameters
None.
Request example
curl -X GET 'https://rpc.ankr.com/premium-http/tron/YOUR_ANKR_API_KEY/wallet/getnextmaintenancetime'
Response example
{
"num": 1680609600000
}
wallet/validateaddress
Checks the validity of the address.
Parameters
address(string; hex; required): an address to check.
Request example
curl -X POST 'https://rpc.ankr.com/premium-http/tron/YOUR_ANKR_API_KEY/wallet/validateaddress' \
-H 'Content-Type: application/json' \
-d '{
"address": "4189139CB1387AF85E3D24E212A008AC974967E561"
}'
Response example
{
"result": true,
"message": "Hex string format"
}
wallet/deploycontract
Deploys a smart contract.
Parameters
abi(array of key-value pairs; required): an ABI.bytecode(string; hex; required): bytecode.parameter(string; hex; optional): the list of constructor parameters, converted to Hex after being encoded according to ABI encoder.call_value(integer; required): a TRX transfer to the contract for each call.name(string; required): a contract name.consume_user_resource_percent(integer; required): the percentage of user's resource consumption; an integer between [0, 100]; 0 means it does not consume user's resource until the developer's resource has been used up.fee_limit(integer; required): the maximum TRX burns for resource consumption.origin_energy_limit(integer; required): the maximum resource consumption of the creator in one execution or creation.owner_address(string; hex; required): an owner address of the contract.
Request example
curl -X POST 'https://rpc.ankr.com/premium-http/tron/YOUR_ANKR_API_KEY/wallet/deploycontract' \
-H 'Content-Type: application/json' \
-d '{
"abi": "[{\"constant\":false,\"inputs\":[{\"name\":\"key\",\"type\":\"uint256\"},{\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"set\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"key\",\"type\":\"uint256\"}],\"name\":\"get\",\"outputs\":[{\"name\":\"value\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"}]",
"bytecode": "608060405234801561001057600080fd5b5060de8061001f6000396000f30060806040526004361060485763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416631ab06ee58114604d5780639507d39a146067575b600080fd5b348015605857600080fd5b506065600435602435608e565b005b348015607257600080fd5b50607c60043560a0565b60408051918252519081900360200190f35b60009182526020829052604090912055565b600090815260208190526040902054905600a165627a7a72305820fdfe832221d60dd582b4526afa20518b98c2e1cb0054653053a844cf265b25040029",
"parameter": "",
"call_value": 100,
"name": "SomeContract",
"consume_user_resource_percent": 30,
"fee_limit": 10,
"origin_energy_limit": 10,
"owner_address": "41D1E7A6BC354106CB410E65FF8B181C600FF14292"
}'
Response example
{
"visible": false,
"txID": "b0311a4ac0b819f06be5957ca5ec707d6e1e2895db615f1e98d314780f821b89",
"contract_address": "41a1bade45e57cd6883d745f3cfaa9e71e60a1ea70",
"raw_data": {
"contract": [
{
"parameter": {
"value": {
"owner_address": "41d1e7a6bc354106cb410e65ff8b181c600ff14292",
"new_contract": {
"bytecode": "608060405234801561001057600080fd5b5060de8061001f6000396000f30060806040526004361060485763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416631ab06ee58114604d5780639507d39a146067575b600080fd5b348015605857600080fd5b506065600435602435608e565b005b348015607257600080fd5b50607c60043560a0565b60408051918252519081900360200190f35b60009182526020829052604090912055565b600090815260208190526040902054905600a165627a7a72305820fdfe832221d60dd582b4526afa20518b98c2e1cb0054653053a844cf265b25040029",
"consume_user_resource_percent": 30,
"name": "SomeContract",
"origin_address": "41d1e7a6bc354106cb410e65ff8b181c600ff14292",
"abi": {
"entrys": [
{
"inputs": [
{
"name": "key",
"type": "uint256"
},
{
"name": "value",
"type": "uint256"
}
],
"name": "set",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"outputs": [
{
"name": "value",
"type": "uint256"
}
],
"constant": true,
"inputs": [
{
"name": "key",
"type": "uint256"
}
],
"name": "get",
"stateMutability": "View",
"type": "Function"
}
]
},
"origin_energy_limit": 10,
"call_value": 100
}
},
"type_url": "type.googleapis.com/protocol.CreateSmartContract"
},
"type": "CreateSmartContract"
}
],
"ref_block_bytes": "e938",
"ref_block_hash": "16069bb4f2f73549",
"expiration": 1680607314000,
"fee_limit": 10,
"timestamp": 1680607256012
},
"raw_data_hex": "0a02e938220816069bb4f2f7354940d08082e0f4305add03081e12d8030a30747970652e676f6f676c65617069732e636f6d2f70726f746f636f6c2e437265617465536d617274436f6e747261637412a3030a1541d1e7a6bc354106cb410e65ff8b181c600ff142921289030a1541d1e7a6bc354106cb410e65ff8b181c600ff142921a5c0a2b1a03736574220e12036b65791a0775696e743235362210120576616c75651a0775696e74323536300240030a2d10011a03676574220e12036b65791a0775696e743235362a10120576616c75651a0775696e743235363002400222fd01608060405234801561001057600080fd5b5060de8061001f6000396000f30060806040526004361060485763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416631ab06ee58114604d5780639507d39a146067575b600080fd5b348015605857600080fd5b506065600435602435608e565b005b348015607257600080fd5b50607c60043560a0565b60408051918252519081900360200190f35b60009182526020829052604090912055565b600090815260208190526040902054905600a165627a7a72305820fdfe832221d60dd582b4526afa20518b98c2e1cb0054653053a844cf265b250400292864301e3a0c536f6d65436f6e7472616374400a70ccbbfedff43090010a"
}
wallet/triggersmartcontract
Triggers a smart contract.
Note: The unit of TRX in the parameters is SUN.
Parameters
contract_address(string; hex; required): a contract address.function_selector(string; required): a function call; must not leave any blank space.parameter(string; required): the parameter passed tofunction_selector; the format must match with the VM's requirements; you can use a tool provided by remix to convert a parameter [1,2] into the format required by VM.fee_limit(integer; required): the maximum TRX burns for resource consumption.call_value(integer; required): the TRX transfer to the contract for each call.owner_address(string; hex; required): an owner address that triggers the contract.permission_id(string; optional): for multi-signature use.
Request example
curl -X POST 'https://rpc.ankr.com/premium-http/tron/YOUR_ANKR_API_KEY/wallet/triggersmartcontract' \
-H 'Content-Type: application/json' \
-d '{
"contract_address": "4189139CB1387AF85E3D24E212A008AC974967E561",
"function_selector": "set(uint256,uint256)",
"parameter": "00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000002",
"fee_limit": 10,
"call_value": 100,
"owner_address": "41D1E7A6BC354106CB410E65FF8B181C600FF14292"
}'
Response example
{
"result": {
"code": "CONTRACT_VALIDATE_ERROR",
"message": "4e6f20636f6e7472616374206f72206e6f7420612076616c696420736d61727420636f6e7472616374"
}
}
wallet/getcontract
Retrieves a contract.
Parameters
value(string; hex; required): a contract address.
Request example
curl -X POST 'https://rpc.ankr.com/premium-http/tron/YOUR_ANKR_API_KEY/wallet/getcontract' \
-H 'Content-Type: application/json' \
-d '{
"value": "4189139CB1387AF85E3D24E212A008AC974967E561"
}'
wallet/proposalcreate
Creates a proposal.
Parameters
owner_address(string; hex; required): a creator address.parameters(array of objects): proposal parameters.permission_id(string; optional): for multi-signature use.
Request example
curl -X POST 'https://rpc.ankr.com/premium-http/tron/YOUR_ANKR_API_KEY/wallet/proposalcreate' \
-H 'Content-Type: application/json' \
-d '{
"owner_address": "419844F7600E018FD0D710E2145351D607B3316CE9",
"parameters": [
{
"key": 0,
"value": 100000
},
{
"key": 1,
"value": 2
}
]
}'
wallet/getproposalbyid
Retrieves a proposal by proposal ID.
Parameters
id(integer; required): a proposal ID.
Request example
curl -X POST 'https://rpc.ankr.com/premium-http/tron/YOUR_ANKR_API_KEY/wallet/getproposalbyid' \
-H 'Content-Type: application/json' \
-d '{
"id": 1
}'
Response example
{
"proposal_id": 1,
"proposer_address": "41c189fa6fc9ed7a3580c3fe291915d5c6a6259be7",
"parameters": [
{
"key": 9,
"value": 1
}
],
"expiration_time": 1539259200000,
"create_time": 1538981229000,
"approvals": [
"41c189fa6fc9ed7a3580c3fe291915d5c6a6259be7",
"4167e39013be3cdd3814bed152d7439fb5b6791409",
"418c66e4883782b793fcf2dcb92b23eece57769499",
"41bac7378c4265ad2739772337682183b8864f517a",
"414a193c92cd631c1911b99ca964da8fd342f4cddd",
"41d25855804e4e65de904faf3ac74b0bdfc53fac76",
"4193a8bc2e7d6bb1bd75fb2d74107ffbda81af439d",
"41d1dbde8b8f71b48655bec4f6bb532a0142b88bc0",
"417b88db9da8aacae0a7e967d24c0fc00129e815f6",
"41243accc5241d97ce79272b06952ee88a34d8e1f9",
"41f70386347e689e6308e4172ed7319c49c0f66e0b",
"41d49bf5202b3dba65d46a5be73396b6b66d3555aa",
"41beab998551416b02f6721129bb01b51fceceba08",
"412fb5abdf8a1670f533c219e7251fe30b89849359",
"4116440834509c59de4ee6ba4933678626f451befe",
"414d1ef8673f916debb7e2515a8f3ecaf2611034aa",
"415863f6091b8e71766da808b1dd3159790f61de7d",
"4138e3e3a163163db1f6cfceca1d1c64594dd1f0ca",
"41fc45da0e51966bd1af2cb1e0f66633f160603a8b",
"41d376d829440505ea13c9d1c455317d51b62e4ab6",
"41b487cdc02de90f15ac89a68c82f44cbfe3d915ea",
"411103d62d8299e90fa011b4ce7fc6ba151e5f1a23"
],
"state": "APPROVED"
}
wallet/listproposals
Retrieves all proposals.
Parameters
None.
Request example
curl -X POST 'https://rpc.ankr.com/premium-http/tron/YOUR_ANKR_API_KEY/wallet/listproposals'
Response example
{
"proposals": [
{
"proposal_id": 84,
"proposer_address": "41456798cb4ab28109d8cc643cd7da7bd6069ceae9",
"parameters": [
{
"key": 70,
"value": 14
},
{
"key": 59,
"value": 1
}
],
"expiration_time": 1680847200000,
"create_time": 1680581727000,
"approvals": [
"41456798cb4ab28109d8cc643cd7da7bd6069ceae9",
"418440ffd578f7a5abf3537b5f46a6980d382db581",
"4167e39013be3cdd3814bed152d7439fb5b6791409",
"414ce8225c8ea6c8e1e0a483132211610c765fc6df",
"41c189fa6fc9ed7a3580c3fe291915d5c6a6259be7"
]
}
]
}
wallet/proposalapprove
Approves a proposal.
Parameters
owner_address(string; hex; required): the address that makes the approvalproposal_id(integer; required): a proposal ID.is_add_approval(boolean; required): whether to approve or not.permission_id(string; optional): for multi-signature use.
Request example
curl -X POST 'https://rpc.ankr.com/premium-http/tron/YOUR_ANKR_API_KEY/wallet/proposalapprove' \
-H 'Content-Type: application/json' \
-d '{
"owner_address": "419844F7600E018FD0D710E2145351D607B3316CE9",
"proposal_id": 1,
"is_add_approval": true
}'
wallet/proposaldelete
Deletes a proposal.
Parameters
owner_address(string; hex; required): a proposal's owner address.proposal_id(integer; required): a proposal ID.permission_id(string; optional): for multi-signature use.
Request example
curl -X POST 'https://rpc.ankr.com/premium-http/tron/YOUR_ANKR_API_KEY/wallet/proposaldelete' \
-H 'Content-Type: application/json' \
-d '{
"owner_address": "419844F7600E018FD0D710E2145351D607B3316CE9",
"proposal_id": 1
}'
wallet/getaccountresource
Retrieves the resource information of an account.
Parameters
address(string; hex; required): an account address.
Request example
curl -X POST 'https://rpc.ankr.com/premium-http/tron/YOUR_ANKR_API_KEY/wallet/getaccountresource' \
-H 'Content-Type: application/json' \
-d '{
"address": "419844f7600e018fd0d710e2145351d607b3316ce9"
}'
wallet/exchangecreate
Creates an exchange pair.
Parameters
owner_address(string; hex; required): an owner address.first_token_id(string; hex; required): the first token's ID.first_token_balance(integer; required): the first token's balance.second_token_id(string; hex; required): the second token's ID.second_token_balance(integer; required): the second token's balance.permission_id(string; optional): for multi-signature use.
Request example
curl -X POST 'https://rpc.ankr.com/premium-http/tron/YOUR_ANKR_API_KEY/wallet/exchangecreate' \
-H 'Content-Type: application/json' \
-d '{
"owner_address": "419844f7600e018fd0d710e2145351d607b3316ce9",
"first_token_id": "token_a",
"first_token_balance": 100,
"second_token_id": "token_b",
"second_token_balance": 200
}'
wallet/exchangeinject
Injects funds for an exchange pair.
Parameters
owner_address(string; hex; required): an owner address of the exchange pair.exchange_id(integer; required): an exchange pair.token_id(string; hex; required): a token ID.quant(integer; required): a token inject amount.permission_id(string; optional): for multi-signature use.
Request example
curl -X POST 'https://rpc.ankr.com/premium-http/tron/YOUR_ANKR_API_KEY/wallet/exchangeinject' \
-H 'Content-Type: application/json' \
-d '{
"owner_address": "419844f7600e018fd0d710e2145351d607b3316ce9",
"exchange_id": 1,
"token_id": "74726f6e6e616d65",
"quant": 100
}'
wallet/exchangewithdraw
Withdraws from an exchange pair.
Parameters
owner_address(string; hex; required): an owner address of the exchange pair.exchange_id(integer; required): an exchange pair.token_id(string; hex; required): a token ID.quant(integer; required): a token inject amount.permission_id(string; optional): for multi-signature use.
Request example
curl -X POST 'https://rpc.ankr.com/premium-http/tron/YOUR_ANKR_API_KEY/wallet/exchangewithdraw' \
-H 'Content-Type: application/json' \
-d '{
"owner_address": "419844f7600e018fd0d710e2145351d607b3316ce9",
"exchange_id": 1,
"token_id": "74726f6e6e616d65",
"quant": 100
}'
wallet/exchangetransaction
Participates the transaction of exchange pair.
Parameters
owner_address(string; hex; required): an owner address of the exchange pair.exchange_id(integer; required): an exchange pair.token_id(string; hex; required): a token ID.quant(integer; required): a token inject amount.expected(integer; required): an expected token amount to get.permission_id(string; optional): for multi-signature use.
Request example
curl -X POST 'https://rpc.ankr.com/premium-http/tron/YOUR_ANKR_API_KEY/wallet/exchangetransaction' \
-H 'Content-Type: application/json' \
-d '{
"owner_address": "419844f7600e018fd0d710e2145351d607b3316ce9",
"exchange_id": 1,
"token_id": "74726f6e6e616d65",
"quant": 100,
"expected": 10
}'
wallet/getexchangebyid
Retrieves an exchange pair by exchange pair ID.
Parameters
id(integer; required): an exchange pair ID.
Request example
curl -X POST 'https://rpc.ankr.com/premium-http/tron/YOUR_ANKR_API_KEY/wallet/getexchangebyid' \
-H 'Content-Type: application/json' \
-d '{
"id": 1
}'
Response example
{
"exchange_id": 1,
"creator_address": "41f596e85bfd042744f76880979a133da0728679d9",
"create_time": 1539673398000,
"first_token_id": "31303030353634",
"first_token_balance": 5,
"second_token_id": "5f",
"second_token_balance": 4326459
}
wallet/listexchanges
Retrieves the list of all exchange pairs.
Parameters
None.
Request example
curl -X GET 'https://rpc.ankr.com/premium-http/tron/YOUR_ANKR_API_KEY/wallet/listexchanges'
Response example
{
"exchanges": [
{
"exchange_id": 184,
"creator_address": "4165b29b92cb5f33342647c4cc32b6efcb59eb3f45",
"create_time": 1615538445000,
"first_token_id": "31303033333934",
"first_token_balance": 100000000000000,
"second_token_id": "31303032393232",
"second_token_balance": 1341470000000
},
{
"exchange_id": 183,
"creator_address": "41f55075d3c88b65d65e0f4cb19881182adce446b8",
"create_time": 1602234009000,
"first_token_id": "31303032373537",
"second_token_id": "5f"
},
{
"exchange_id": 182,
"creator_address": "41d4af469119bab46909222e77e277c655f0de9054",
"create_time": 1600277286000,
"first_token_id": "31303033333031",
"first_token_balance": 115545377,
"second_token_id": "31303032303030",
"second_token_balance": 86546095
},
{
"exchange_id": 181,
"creator_address": "41d4af469119bab46909222e77e277c655f0de9054",
"create_time": 1600208667000,
"first_token_id": "5f",
"first_token_balance": 37777779,
"second_token_id": "31303033333031",
"second_token_balance": 66176472
}
]
}
wallet/getchainparameters
Retrieves the parameters of the blockchain used for witnesses to create a proposal.
Parameters
None.
Request example
curl -X GET 'https://rpc.ankr.com/premium-http/tron/YOUR_ANKR_API_KEY/wallet/getchainparameters'
Response example
{
"chainParameter": [
{
"key": "getMaintenanceTimeInterval",
"value": 21600000
},
{
"key": "getAccountUpgradeCost",
"value": 9999000000
},
{
"key": "getCreateAccountFee",
"value": 100000
},
{
"key": "getTransactionFee",
"value": 1000
},
{
"key": "getAssetIssueFee",
"value": 1024000000
},
{
"key": "getWitnessPayPerBlock",
"value": 16000000
},
{
"key": "getWitnessStandbyAllowance",
"value": 115200000000
},
{
"key": "getCreateNewAccountFeeInSystemContract",
"value": 1000000
}
]
}
wallet/updatesetting
Updates the
consume_user_resource_percentparameter of a smart contract.
Parameters
owner_address(string; hex; required): an owner address of the smart contract.contract_address(string; hex; required): a smart contract address.consume_user_resource_percent(integer; required): a percentage of user resource consumption.permission_id(string; optional): for multi-signature use.
Request example
curl -X POST 'https://rpc.ankr.com/premium-http/tron/YOUR_ANKR_API_KEY/wallet/updatesetting' \
-H 'Content-Type: application/json' \
-d '{
"owner_address": "419844f7600e018fd0d710e2145351d607b3316ce9",
"contract_address": "41c6600433381c731f22fc2b9f864b14fe518b322f",
"consume_user_resource_percent": 7
}'
wallet/updateenergylimit
Updates the
origin_energy_limitparameter of a smart contract.
Parameters
owner_address(string; hex; required): an owner address of the smart contract.contract_address(string; hex; required): a smart contract address.origin_energy_limit(integer; required): the maximum resource consumption of the creator in one execution or creation.permission_id(string; optional): for multi-signature use.
Request example
curl -X POST 'https://rpc.ankr.com/premium-http/tron/YOUR_ANKR_API_KEY/wallet/updateenergylimit' \
-H 'Content-Type: application/json' \
-d '{
"owner_address": "419844f7600e018fd0d710e2145351d607b3316ce9",
"contract_address": "41c6600433381c731f22fc2b9f864b14fe518b322f",
"origin_energy_limit": 7
}'
wallet/getdelegatedresource
Retrieves the energy delegation information.
Parameters
fromAddress(string; hex; required): the energy "from" address.toAddress(string; hex; required): the energy "to" address.
Request example
curl -X POST 'https://rpc.ankr.com/premium-http/tron/YOUR_ANKR_API_KEY/wallet/getdelegatedresource' \
-H 'Content-Type: application/json' \
-d '{
"fromAddress": "419844f7600e018fd0d710e2145351d607b3316ce9",
"toAddress": "41c6600433381c731f22fc2b9f864b14fe518b322f"
}'
wallet/getdelegatedresourceaccountindex
Retrieves the energy delegation index by an account.
Parameters
value(string; hex; required): an account address.
Request example
curl -X POST 'https://rpc.ankr.com/premium-http/tron/YOUR_ANKR_API_KEY/wallet/getdelegatedresourceaccountindex' \
-H 'Content-Type: application/json' \
-d '{
"value": "419844f7600e018fd0d710e2145351d607b3316ce9"
}'
Response example
{
"account": "419844f7600e018fd0d710e2145351d607b3316ce9"
}
wallet/setaccountid
Sets an account ID for an account.
Parameters
owner_address(string; hex; required): an owner address.account_id(string; hex; required): an account ID.
Request example
curl -X POST 'https://rpc.ankr.com/premium-http/tron/YOUR_ANKR_API_KEY/wallet/setaccountid' \
-H 'Content-Type: application/json' \
-d '{
"owner_address": "41a7d8a35b260395c14aa456297662092ba3b76fc0",
"account_id": "6161616162626262"
}'
Response example
{
"visible": false,
"txID": "5e0bec70e545e1ec197d580ae90d2d4a105409d99f7666d33e31d1b05512794a",
"raw_data": {
"contract": [
{
"parameter": {
"value": {
"account_id": "6161616162626262",
"owner_address": "41a7d8a35b260395c14aa456297662092ba3b76fc0"
},
"type_url": "type.googleapis.com/protocol.SetAccountIdContract"
},
"type": "SetAccountIdContract"
}
],
"ref_block_bytes": "444a",
"ref_block_hash": "5078253a302d67ab",
"expiration": 1680677295000,
"timestamp": 1680677235852
},
"raw_data_hex": "0a02444a22085078253a302d67ab4098a7b181f5305a5a081312560a31747970652e676f6f676c65617069732e636f6d2f70726f746f636f6c2e5365744163636f756e744964436f6e747261637412210a086161616162626262121541a7d8a35b260395c14aa456297662092ba3b76fc0708cd9ad81f530"
}
wallet/getaccountbyid
Retrieves account information by account ID.
Parameters
account_id(string; hex; required): an account ID.
Request example
curl -X POST 'https://rpc.ankr.com/premium-http/tron/YOUR_ANKR_API_KEY/wallet/getaccountbyid' \
-H 'Content-Type: application/json' \
-d '{
"account_id": "6161616162626262"
}'
//: # (curl -X POST 'https://rpc.ankr.com/premium-http/tron/YOUR_ANKR_API_KEY/wallet/getdeferredtransactionbyid' )
//: # (-H 'Content-Type: application/json' )
//: # (curl -X POST 'https://rpc.ankr.com/premium-http/tron/YOUR_ANKR_API_KEY/wallet/canceldeferredtransactionbyid' )
//: # (-H 'Content-Type: application/json' )
//: # (curl -X POST 'https://rpc.ankr.com/premium-http/tron/YOUR_ANKR_API_KEY/wallet/getdeferredtransactioninfobyid' )
//: # (-H 'Content-Type: application/json' )
wallet/triggerconstantcontract
Triggers the constant of the smart contract, the transaction is off the blockchain.
Parameters
contract_address(string; hex; required): a smart contract address.function_selector(string; required): a function call; must not leave any blank space.parameter(string; required): the parameter passed tofunction_selector; the format must match with the VM's requirements; you can use a tool provided by remix to convert a parameter [1,2] into the format required by VM.fee_limit(integer; required): the maximum TRX burns for resource consumption.call_value(integer; required): the TRX transfer to the contract for each call.owner_address(string; hex; required): an owner address that triggers the contract.permission_id(string; optional): for multi-signature use.
Request example
curl -X POST 'https://rpc.ankr.com/premium-http/tron/YOUR_ANKR_API_KEY/wallet/triggerconstantcontract' \
-H 'Content-Type: application/json' \
-d '{
"contract_address": "4189139CB1387AF85E3D24E212A008AC974967E561",
"function_selector": "set(uint256,uint256)",
"parameter": "00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000002",
"fee_limit": 10,
"call_value": 100,
"owner_address": "41D1E7A6BC354106CB410E65FF8B181C600FF14292"
}'
Response example
{
"result": {
"code": "CONTRACT_VALIDATE_ERROR",
"message": "536d61727420636f6e7472616374206973206e6f742065786973742e"
}
}
wallet/clearabi
Clears the abi of a smart contract.
Parameters
owner_address(string; hex; required): an owner address of the smart contract.contract_address(string; hex; required): a smart contract address.
Request example
curl -X POST 'https://rpc.ankr.com/premium-http/tron/YOUR_ANKR_API_KEY/wallet/clearabi' \
-H 'Content-Type: application/json' \
-d '{
"owner_address": "41a7d8a35b260395c14aa456297662092ba3b76fc0",
"contract_address": "417bcb781f4743afaacf9f9528f3ea903b3782339f"
}'
wallet/getsignweight
Retrieves the current signatures total weight of a transaction after signing.
Parameters
A transaction object after signing.
Request example
curl -X POST 'https://rpc.ankr.com/premium-http/tron/YOUR_ANKR_API_KEY/wallet/getsignweight' \
-H 'Content-Type: application/json' \
-d '{
"visible": true,
"signature": [
"36c9d227b9dd6b6f377d018bb2df784be884f28c743dc97edfdaa8bd64b2ffb058bca24a4eb8b4543a052a4f353fee8cb9e606ff739c74d22f9451c7a35c8f5200"
],
"txID": "4d928f7adfbad5c82f5b8518a6f7b7c5e459d06d1cb5306c61fad8a793587d2d",
"raw_data": {
"contract": [
{
"parameter": {
"value": {
"amount": 1000000,
"owner_address": "TRGhNNfnmgLegT4zHNjEqDSADjgmnHvubJ",
"to_address": "TJCnKsPa7y5okkXvQAidZBzqx3QyQ6sxMW"
},
"type_url": "type.googleapis.com/protocol.TransferContract"
},
"type": "TransferContract",
"Permission_id": 2
}
],
"ref_block_bytes": "0380",
"ref_block_hash": "6cdc8193f096be0f",
"expiration": 1556249055000,
"timestamp": 1556248995694
},
"raw_data_hex": "0a02038022086cdc8193f096be0f40989eb0bda52d5a69080112630a2d747970652e676f6f676c65617069732e636f6d2f70726f746f636f6c2e5472616e73666572436f6e747261637412320a1541a7d8a35b260395c14aa456297662092ba3b76fc01215415a523b449890854c8fc460ab602df9f31fe4293f18c0843d280270eeceacbda52d"
}'
Response example
{
"result": {
"code": "PERMISSION_ERROR",
"message": "36c9d227b9dd6b6f377d018bb2df784be884f28c743dc97edfdaa8bd64b2ffb058bca24a4eb8b4543a052a4f353fee8cb9e606ff739c74d22f9451c7a35c8f5200 is signed by TNhXo1GbRNCuorvYu5JFWN3m2NYr9QQpVR but it is not contained of permission."
},
"permission": {
"operations": "7fff1fc0033e0300000000000000000000000000000000000000000000000000",
"keys": [
{
"address": "TRGhNNfnmgLegT4zHNjEqDSADjgmnHvubJ",
"weight": 1
},
{
"address": "TGsy6W3T4fs3nAMk4E6ohfXXsosbHXRLvK",
"weight": 10
}
],
"threshold": 10,
"id": 2,
"type": "Active",
"permission_name": "active"
},
"transaction": {
"result": {
"result": true
},
"txid": "4d928f7adfbad5c82f5b8518a6f7b7c5e459d06d1cb5306c61fad8a793587d2d",
"transaction": {
"signature": [
"36c9d227b9dd6b6f377d018bb2df784be884f28c743dc97edfdaa8bd64b2ffb058bca24a4eb8b4543a052a4f353fee8cb9e606ff739c74d22f9451c7a35c8f5200"
],
"txID": "4d928f7adfbad5c82f5b8518a6f7b7c5e459d06d1cb5306c61fad8a793587d2d",
"raw_data": {
"contract": [
{
"parameter": {
"value": {
"amount": 1000000,
"owner_address": "TRGhNNfnmgLegT4zHNjEqDSADjgmnHvubJ",
"to_address": "TJCnKsPa7y5okkXvQAidZBzqx3QyQ6sxMW"
},
"type_url": "type.googleapis.com/protocol.TransferContract"
},
"type": "TransferContract",
"Permission_id": 2
}
],
"ref_block_bytes": "0380",
"ref_block_hash": "6cdc8193f096be0f",
"expiration": 1556249055000,
"timestamp": 1556248995694
},
"raw_data_hex": "0a02038022086cdc8193f096be0f40989eb0bda52d5a69080112630a2d747970652e676f6f676c65617069732e636f6d2f70726f746f636f6c2e5472616e73666572436f6e747261637412320a1541a7d8a35b260395c14aa456297662092ba3b76fc01215415a523b449890854c8fc460ab602df9f31fe4293f18c0843d280270eeceacbda52d"
}
}
}
wallet/getapprovedlist
Retrieves the signatures list of a transaction after signing.
Parameters
A transaction object after signing.
Request example
curl -X POST 'https://rpc.ankr.com/premium-http/tron/YOUR_ANKR_API_KEY/wallet/getapprovedlist' \
-H 'Content-Type: application/json' \
-d '{
"visible": true,
"signature": [
"36c9d227b9dd6b6f377d018bb2df784be884f28c743dc97edfdaa8bd64b2ffb058bca24a4eb8b4543a052a4f353fee8cb9e606ff739c74d22f9451c7a35c8f5200"
],
"txID": "4d928f7adfbad5c82f5b8518a6f7b7c5e459d06d1cb5306c61fad8a793587d2d",
"raw_data": {
"contract": [
{
"parameter": {
"value": {
"amount": 1000000,
"owner_address": "TRGhNNfnmgLegT4zHNjEqDSADjgmnHvubJ",
"to_address": "TJCnKsPa7y5okkXvQAidZBzqx3QyQ6sxMW"
},
"type_url": "type.googleapis.com/protocol.TransferContract"
},
"type": "TransferContract",
"Permission_id": 2
}
],
"ref_block_bytes": "0380",
"ref_block_hash": "6cdc8193f096be0f",
"expiration": 1556249055000,
"timestamp": 1556248995694
},
"raw_data_hex": "0a02038022086cdc8193f096be0f40989eb0bda52d5a69080112630a2d747970652e676f6f676c65617069732e636f6d2f70726f746f636f6c2e5472616e73666572436f6e747261637412320a1541a7d8a35b260395c14aa456297662092ba3b76fc01215415a523b449890854c8fc460ab602df9f31fe4293f18c0843d280270eeceacbda52d"
}'
Response example
{
"result": {},
"approved_list": [
"TNhXo1GbRNCuorvYu5JFWN3m2NYr9QQpVR"
],
"transaction": {
"result": {
"result": true
},
"txid": "4d928f7adfbad5c82f5b8518a6f7b7c5e459d06d1cb5306c61fad8a793587d2d",
"transaction": {
"signature": [
"36c9d227b9dd6b6f377d018bb2df784be884f28c743dc97edfdaa8bd64b2ffb058bca24a4eb8b4543a052a4f353fee8cb9e606ff739c74d22f9451c7a35c8f5200"
],
"txID": "4d928f7adfbad5c82f5b8518a6f7b7c5e459d06d1cb5306c61fad8a793587d2d",
"raw_data": {
"contract": [
{
"parameter": {
"value": {
"amount": 1000000,
"owner_address": "TRGhNNfnmgLegT4zHNjEqDSADjgmnHvubJ",
"to_address": "TJCnKsPa7y5okkXvQAidZBzqx3QyQ6sxMW"
},
"type_url": "type.googleapis.com/protocol.TransferContract"
},
"type": "TransferContract",
"Permission_id": 2
}
],
"ref_block_bytes": "0380",
"ref_block_hash": "6cdc8193f096be0f",
"expiration": 1556249055000,
"timestamp": 1556248995694
},
"raw_data_hex": "0a02038022086cdc8193f096be0f40989eb0bda52d5a69080112630a2d747970652e676f6f676c65617069732e636f6d2f70726f746f636f6c2e5472616e73666572436f6e747261637412320a1541a7d8a35b260395c14aa456297662092ba3b76fc01215415a523b449890854c8fc460ab602df9f31fe4293f18c0843d280270eeceacbda52d"
}
}
}
wallet/accountpermissionupdate
Sets a multi-signature for an account.
Parameters
owner_address(string; hex; required): an owner address of the account.owner(object): an account owner permission.witness(object): an account witness permission; only for the witness.actives(array): an operation permission.
Request example
curl -X POST 'https://rpc.ankr.com/premium-http/tron/YOUR_ANKR_API_KEY/wallet/accountpermissionupdate' \
-H 'Content-Type: application/json' \
-d '{
"owner_address": "TRGhNNfnmgLegT4zHNjEqDSADjgmnHvubJ",
"owner": {
"type": 0,
"permission_name": "owner",
"threshold": 1,
"keys": [
{
"address": "TRGhNNfnmgLegT4zHNjEqDSADjgmnHvubJ",
"weight": 1
}
]
},
"actives": [
{
"type": 2,
"permission_name": "active12323",
"threshold": 2,
"operations": "7fff1fc0033e0000000000000000000000000000000000000000000000000000",
"keys": [
{
"address": "TNhXo1GbRNCuorvYu5JFWN3m2NYr9QQpVR",
"weight": 1
},
{
"address": "TKwhcDup8L2PH5r6hxp5CQvQzZqJLmKvZP",
"weight": 1
}
]
}
],
"visible": true
}'
Response example
{
"visible": true,
"txID": "893420ec0302c29b8a060b3a2ebbdf5239b628570a329b492f3e9a38222eb9a1",
"raw_data": {
"contract": [
{
"parameter": {
"value": {
"owner": {
"keys": [
{
"address": "TRGhNNfnmgLegT4zHNjEqDSADjgmnHvubJ",
"weight": 1
}
],
"threshold": 1,
"permission_name": "owner"
},
"owner_address": "TRGhNNfnmgLegT4zHNjEqDSADjgmnHvubJ",
"actives": [
{
"operations": "7fff1fc0033e0000000000000000000000000000000000000000000000000000",
"keys": [
{
"address": "TNhXo1GbRNCuorvYu5JFWN3m2NYr9QQpVR",
"weight": 1
},
{
"address": "TKwhcDup8L2PH5r6hxp5CQvQzZqJLmKvZP",
"weight": 1
}
],
"threshold": 2,
"type": "Active",
"permission_name": "active12323"
}
]
},
"type_url": "type.googleapis.com/protocol.AccountPermissionUpdateContract"
},
"type": "AccountPermissionUpdateContract"
}
],
"ref_block_bytes": "4ffc",
"ref_block_hash": "4e38306be89d0e14",
"expiration": 1680686277000,
"timestamp": 1680686217702
},
"raw_data_hex": "0a024ffc22084e38306be89d0e144088c3d585f5305aee01082e12e9010a3c747970652e676f6f676c65617069732e636f6d2f70726f746f636f6c2e4163636f756e745065726d697373696f6e557064617465436f6e747261637412a8010a1541a7d8a35b260395c14aa456297662092ba3b76fc012241a056f776e657220013a190a1541a7d8a35b260395c14aa456297662092ba3b76fc01001226908021a0b6163746976653132333233200232207fff1fc0033e00000000000000000000000000000000000000000000000000003a190a15418ba2aaae540c642e44e3bed5522c63bbc21fff9210013a190a15416d684e23fdb378cd815852f42ab7d20c35160548100170e6f3d185f530"
}
wallet/getzenpaymentaddress
Retrieves payment address.
Parameters
ivk(string; hex; required): an incoming viewing key.d(string; required): d.
Request example
curl -X POST 'https://rpc.ankr.com/premium-http/tron/YOUR_ANKR_API_KEY/wallet/createtransaction' \
-H 'Content-Type: application/json' \
-d '{
"ivk": "8c7852e10862d8eec058635974f70f24c1f8d73819131bb5b54028d0a9408a03",
"d": "736ba8692ed88a5473e009"
}'
//: # (curl -X POST 'https://rpc.ankr.com/premium-http/tron/YOUR_ANKR_API_KEY/wallet/scannotebyivk' )
//: # (-H 'Content-Type: application/json' )
//: # (curl -X POST 'https://rpc.ankr.com/premium-http/tron/YOUR_ANKR_API_KEY/wallet/scanandmarknotebyivk' )
//: # (-H 'Content-Type: application/json' )
//: # (curl -X POST 'https://rpc.ankr.com/premium-http/tron/YOUR_ANKR_API_KEY/wallet/scannotebyovk' )
//: # (-H 'Content-Type: application/json' )
wallet/getrcm
Retrieves a random commitment trapdoor.
Parameters
None.
Request example
curl -X GET 'https://rpc.ankr.com/premium-http/tron/YOUR_ANKR_API_KEY/wallet/getrcm'
Response example
{
"value": "cf41ab2baca05e1fee6d34778f1b059ae93669aa8011f4bc629a75c495226801"
}
//: # (curl -X POST 'https://rpc.ankr.com/premium-http/tron/YOUR_ANKR_API_KEY/wallet/getmerkletreevoucherinfo' )
//: # (-H 'Content-Type: application/json' )
//: # (curl -X POST 'https://rpc.ankr.com/premium-http/tron/YOUR_ANKR_API_KEY/wallet/isspend' )
//: # (-H 'Content-Type: application/json' )
//: # (curl -X POST 'https://rpc.ankr.com/premium-http/tron/YOUR_ANKR_API_KEY/wallet/createshieldnullifier' )
//: # (-H 'Content-Type: application/json' )
//: # (curl -X POST 'https://rpc.ankr.com/premium-http/tron/YOUR_ANKR_API_KEY/wallet/getshieldtransactionhash' )
//: # (-H 'Content-Type: application/json' )
wallet/gettriggerinputforshieldedtrc20contract
Retrieves the trigger input data of shielded TRC-20 contract for the shielded TRC-20 parameters without spending authority signature.
Parameters
shielded_TRC20_Parameters(object; required): the generated shielded TRC-20 parameters.spend_authority_signature(array; required): the spend authority signatures.amount(string; required): an amount.transparent_to_address(string; required): the receiver for theburnoperation.
Request example
curl -X POST 'https://rpc.ankr.com/premium-http/tron/YOUR_ANKR_API_KEY/wallet/gettriggerinputforshieldedtrc20contract' \
-H 'Content-Type: application/json' \
-d '{
"shielded_TRC20_Parameters": {"spend_description": [{"value_commitment": "e3fcc8609ff6a4b00b77a00ef624f305cec5f55cc7312ff5526d0b3057f2ef9e","anchor": "4c9cbebece033dc1d253b93e4a3682187daae4f905515761d10287b801e69816","nullifier": "74edce8798a3976ee41e045bb666f3a121c27235b0f1b44b3456d2c84bc725dc","rk": "9dcf4254aa7c4fb7c8bc6956d4b0c7c6c87c37a2552e7bf4e60c12cb5bc6c8cd","zkproof": "9926045cd1442a7d20153e6abda9f77a6526895f0a29a57cb1bc76ef6b7cacef2d0f4c94aa97c3acacdb95cabb065057b7edb4cbea098149a8aa7114a6a6b340c58007ac64b64e592eb18fdd299de5962a2a32ab0caebb2ab198704c751a9d0e143d68a50257d7c9e2230a7420fa46450299fd167141367e201726532d8e815413d8571d6c8c12937674dec92caf1f4583ebe560ac4c7eba290deee0a1c0da5f72c0b9df89fb3b338c683b654b3dc2373a4c2a4fef7f4fa489b44405fb7d2bfb"}],"binding_signature": "11e949887d9ec92eb32c78f0bc48afdc9a16a2ecbd5a0eca1be070fb900eeda347918bd6e9521d4baf1f74963bee0c1956559623a9e7cbc886941b227341ea06","message_hash": "7e6a00736c4f9e0036cb74c7fa3b1e3cd8f6bf0f038edeb03b668c4c5536a357","parameter_type": "burn"},
"spend_authority_signature": [
{
"value": "eeaaecd725ac80ec398b95cf188b769c1be66cc8e76e6c90843b7f23818704595719ce8bf694ffb8cd7aaa8739d50fe8eea7ba39d5026c4b019c973185ca7201"
}
],
"amount": "6000",
"transparent_to_address": "4140cd765f8e637a2bbe00f9bc458f6b21eb0e648f"
}'