freeze_balance
Stake TRX for energy or bandwidth (Stake 2.0). Returns unsigned transaction hex for signing.
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": {
"from": "<from>",
"amount": "<amount>",
"resource": "<resource>"
},
"name": "freeze_balance"
}
}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 |