Resource Price Table
tronsave_get_price_tableRetrieve the ENERGY or BANDWIDTH price grid to compare unit costs across rental amounts and durations in one call before requesting an exact quote.
Instructions
Read 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; use tronsave_estimate_buy_resource for an exact quote. Public, read-only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | No | Optional receiver address; prices can depend on the account. | |
| resourceType | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prices | No | ||
| amounts | No | ||
| durations | No |