Resource Price Table
tronsave_get_price_tableRead the price grid for ENERGY or BANDWIDTH: prices[i][j] is the unit price in SUN for amounts[i] resource units rented for durations[j] (e.g. '15m', '1h', '1d'). Durations of 1 day or longer are priced per day: '30d' at 40 SUN costs 40 x 30 SUN per unit in total. Use to compare cost across amounts and durations in one call. For an exact quote on one purchase use tronsave_estimate_buy_resource; for only the floor price use tronsave_get_min_price. Public, read-only.
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": {
"resourceType": "<resourceType>"
},
"name": "tronsave_get_price_table"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | No | Optional receiver address; prices can depend on the account. | |
| resourceType | Yes | ENERGY (smart-contract calls) or BANDWIDTH (plain transfers). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prices | No | ||
| amounts | No | ||
| durations | No |