curl --request POST \
--url https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/wallet/transferasset \
--header 'Content-Type: application/json' \
--data '{
"owner_address": "TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g",
"to_address": "TFgY1uN8buRxAtV2r6Zy5sG3ACko6pJT1y",
"asset_name": "TOKEN_NAME",
"amount": 1000000,
"visible": true
}'
{
"visible": true,
"txID": "<string>",
"raw_data": {},
"raw_data_hex": "<string>"
}
curl --request POST \
--url https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/wallet/transferasset \
--header 'Content-Type: application/json' \
--data '{
"owner_address": "TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g",
"to_address": "TFgY1uN8buRxAtV2r6Zy5sG3ACko6pJT1y",
"asset_name": "TOKEN_NAME",
"amount": 1000000,
"visible": true
}'
{
"visible": true,
"txID": "<string>",
"raw_data": {},
"raw_data_hex": "<string>"
}
owner_address
— the address sending the TRC10 tokensto_address
— the address receiving the TRC10 tokensasset_name
— the name or ID of the TRC10 token to transferamount
— the amount of tokens to transfervisible
— optional boolean parameter. When set to true
, addresses are in base58 format. Default is false
.visible
— indicates the address format used in the responsetxID
— the transaction hashraw_data
— raw transaction data including:
contract
— array containing the asset transfer contractref_block_bytes
— reference block bytesref_block_hash
— reference block hashexpiration
— transaction expiration timestamptimestamp
— transaction creation timestampraw_data_hex
— hexadecimal representation of the raw transactionwallet/transferasset
method is used for:
Unsigned TRC10 asset transfer transaction
The response is of type object
.