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