delegate_resource
Delegate staked BANDWIDTH or ENERGY resources from the configured wallet to another address on the TRON network.
Instructions
Delegate staked resources (BANDWIDTH or ENERGY) from the configured wallet to another address.
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 |