undelegate_resource
Reclaim previously delegated energy or bandwidth (Stake 2.0). Returns unsigned transaction hex for signing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Address to reclaim from (base58, starts with T) | |
| from | Yes | Delegator address (base58, starts with T) | |
| memo | No | Optional memo to attach to the transaction | |
| amount | Yes | Amount in TRX to undelegate (e.g., '100.5') | |
| resource | Yes | Resource type | |
| permission_id | No | Permission ID for multi-sig transactions |