undelegate_resource
Revoke previously delegated TRON staked resources (BANDWIDTH or ENERGY) from a receiver address back to your configured wallet by specifying the receiver, amount, and resource.
Instructions
Revoke previously delegated staked resources (BANDWIDTH or ENERGY) from a receiver address back to the configured wallet.
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": "undelegate_resource"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Amount of resources to revoke in Sun (1 TRX = 1,000,000 Sun) | |
| network | No | Network name. Defaults to mainnet. | |
| resource | Yes | Resource type to revoke (BANDWIDTH or ENERGY) | |
| receiverAddress | Yes | The address from which delegated resources will be revoked |