Order Book
tronsave_list_order_booksRead ENERGY or BANDWIDTH order-book price buckets to estimate delegation market ranges before creating or updating orders.
Instructions
Read market depth buckets for ENERGY or BANDWIDTH. Public view; with an API key, tronsave_internal_order_book adds SLOW/MEDIUM/FAST price tiers. Returns price buckets { min, max, value } optionally scoped by viewer address, minimum delegate amount, and duration. No login required; read-only and idempotent. Use this to estimate market ranges before create/update decisions; pair with tronsave_estimate_buy_resource for quote-style buy estimation and tronsave_get_order for one concrete order.
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_list_order_books"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | No | Optional viewer/requester wallet context. | |
| durationSec | No | Optional delegation duration filter in seconds. | |
| resourceType | Yes | Order-book side to query (`ENERGY` or `BANDWIDTH`). | |
| minDelegateAmount | No | Optional minimum delegate amount floor for bucket filtering. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| orderBook | No |