POST
/
95e61622bf6a8af293978377718e3b77
/
wallet
/
transferasset
wallet/transferasset
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>"
}
TRON API method that creates an unsigned transaction for transferring TRC10 tokens between accounts.
Get you own node endpoint todayStart for free and get your app to production levels immediately. No credit card required.You can sign up with your GitHub, X, Google, or Microsoft account.

Parameters

  • owner_address — the address sending the TRC10 tokens
  • to_address — the address receiving the TRC10 tokens
  • asset_name — the name or ID of the TRC10 token to transfer
  • amount — the amount of tokens to transfer
  • visible — optional boolean parameter. When set to true, addresses are in base58 format. Default is false.

Response

  • visible — indicates the address format used in the response
  • txID — the transaction hash
  • raw_data — raw transaction data including:
    • contract — array containing the asset transfer contract
    • ref_block_bytes — reference block bytes
    • ref_block_hash — reference block hash
    • expiration — transaction expiration timestamp
    • timestamp — transaction creation timestamp
  • raw_data_hex — hexadecimal representation of the raw transaction

Use case

The wallet/transferasset method is used for:
  • Transferring TRC10 tokens between accounts
  • Building token transfer functionality in wallets and DApps
  • Creating automated token distribution systems
  • Implementing payment systems using TRC10 tokens
  • Facilitating token trading and exchange operations
Note: The returned transaction must be signed and broadcast to complete the transfer.

Body

application/json

Response

200 - application/json

Unsigned TRC10 asset transfer transaction

The response is of type object.