approve_trc20
Approve TRC-20 token spending allowances on TRON. Set specific or unlimited amounts for designated spenders and execute signed on-chain transactions.
Instructions
Approve TRC-20 spending allowance. Signs and broadcasts on-chain. Requires TRON_PRIVATE_KEY.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"token": "<token>",
"spender": "<spender>",
"amount": "<amount>"
},
"name": "approve_trc20"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | Yes | Token symbol or contract address. | |
| spender | Yes | Spender TRON address. | |
| amount | Yes | Allowance amount (human-readable, or "unlimited"). |