delegate_resource
Delegate staked BANDWIDTH or ENERGY from your configured TRON wallet to another address, with optional lock period for non-revocable delegation.
Instructions
Delegate staked resources (BANDWIDTH or ENERGY) from the configured wallet to another address.
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": {
"receiverAddress": "<receiverAddress>",
"amount": "<amount>",
"resource": "<resource>"
},
"name": "delegate_resource"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lock | No | Whether the delegation is locked (non-revocable within the lock period). Defaults to false. | |
| amount | Yes | Amount of resources to delegate in Sun (1 TRX = 1,000,000 Sun) | |
| network | No | Network name. Defaults to mainnet. | |
| resource | Yes | Resource type to delegate (BANDWIDTH or ENERGY) | |
| lockPeriod | No | Lock period in blocks when lock is true. Ignored if lock is false. Defaults to 0. | |
| receiverAddress | Yes | The address that will receive the delegated resources |