Comment on page
EasyTransferAssetByPrivate
TRC10 token easy transfer. Broadcast the created transaction directly.
Body params:
privateKey
- Private key, default hexStringtoAddress
- To address, default hexStringassetId
- Token idamount
- Token transfer amountvisible
- Optional, Whether the address is in base58 format.
Request
curl --request POST \
--url https://tron.api.watchdata.io/wallet/easytransferassetbyprivate \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '
{
"privateKey": "D95611A9AF2A2A45359106222ED1AFED48853D9A44DEFF8DC7913F5CBA727366",
"toAddress": "4112E621D5577311998708F4D7B9F71F86DAE138B5",
"assetId": "1000001"
}
'
Response
{
"result": {
"code": "CONTRACT_VALIDATE_ERROR",
"message": "416d6f756e74206d7573742062652067726561746572207468616e20302e"
}
}
Last modified 1yr ago