prepare_tron_token_send
Prepare unsigned TRC-20 token transfers (USDT, USDC, USDD, TUSD) on TRON for Ledger hardware wallet signing via TronGrid's API.
Instructions
Build an unsigned TRC-20 transfer transaction (canonical set only: USDT, USDC, USDD, TUSD) via TronGrid's /wallet/triggersmartcontract. Decimals are resolved from the canonical table — unknown TRC-20s are rejected with an explicit error. Default fee_limit is 100 TRX (TronLink/Ledger Live default); override with feeLimitTrx if energy pricing has moved. Returns a preview + opaque handle. Forward via send_transaction for USB-HID signing on the paired Ledger. USDT renders natively on the TRON app; other TRC-20s may display raw hex on-device (the contract address and amount are still shown, so the user can verify against the preview).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from | Yes | Base58 TRON sender address (prefix T). | |
| to | Yes | Base58 TRON recipient address (prefix T). | |
| token | Yes | Base58 TRC-20 contract address. Phase 2 only supports the canonical set (USDT, USDC, USDD, TUSD); other TRC-20s are rejected. | |
| amount | Yes | Token amount as a human-readable decimal string (decimals are resolved from the canonical table: 6 for USDT/USDC, 18 for USDD/TUSD). | |
| feeLimitTrx | No | Optional fee-limit override in TRX. Defaults to 100 TRX — Ledger Live / TronLink standard. |