freeze_balance_v2
Freeze TRX to obtain BANDWIDTH or ENERGY resources via Stake 2.0 by specifying the amount in Sun, with optional network and resource type.
Instructions
Freeze TRX to get resources (Stake 2.0).
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": {
"amount": "<amount>"
},
"name": "freeze_balance_v2"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Amount to freeze in Sun (1 TRX = 1,000,000 Sun) | |
| network | No | Network name. Defaults to mainnet. | |
| resource | No | Resource type to get. Defaults to BANDWIDTH. |