Internal Market Order Book
tronsave_internal_order_bookRetrieve live TronSave market depth and price tiers for ENERGY or BANDWIDTH to preview liquidity and pricing before creating or estimating an order.
Instructions
Return the current TronSave market depth/price tiers for ENERGY or BANDWIDTH via the api-key REST endpoint. Requires an internal API key: tronsave_login (api-key mode, or signature mode for a wallet with an internal account) or an Authorization: ApiKey <key> client header. Never pass API keys as tool arguments; the server forwards the key from the session/header to TronSave. Use before tronsave_internal_order_create or tronsave_internal_order_estimate when the user needs live prices or liquidity. Read-only. FRESHNESS: live market depth can change roughly every 3 seconds (one TRON block) — re-read immediately before placing an order.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | No | Optional TRON base58 address filter for the receiver. | |
| durationSec | No | Delegation duration window in seconds for the quote. | |
| resourceType | No | Resource type. Default ENERGY when omitted. | |
| minDelegateAmount | No | Minimum resource amount per offer level to include (resource units, not SUN). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | Order book entries sorted by price. | |
| fast | No | FAST price tier (SUN). | |
| slow | No | SLOW price tier (SUN). | |
| medium | No | MEDIUM price tier (SUN). | |
| availableResource | No | Available resource at the quoted tiers. |