Price energy
quote_energyPrice an energy rental in TRX. Charges nothing. With address, the price includes the activation fee when that address is not activated. Needs an API key at the rent or full level.
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": {
"volume": "<volume>",
"duration": "<duration>"
},
"name": "quote_energy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| volume | Yes | Energy amount, 30000 to 4000000. One USDT transfer usually needs about 65000, or about 131000 to an address that holds no USDT. | |
| address | No | Optional. Address that would receive the energy. | |
| duration | Yes | Energy rental length. | |
| exact_volume | No | Optional, default false. True excludes suppliers that do not sell exactly this amount. | |
| no_activation | No | Optional, default false. True fails with inactive_address instead of adding the activation fee for an address that is not activated. | |
| exact_duration | No | Optional, default false. True excludes suppliers that do not sell exactly this duration; false allows the shortest longer one. |