Get you own node endpoint todayStart for free and get your app to production levels immediately. No credit card required.You can sign up with your GitHub, X, Google, or Microsoft account.
Parameters
sell_token_id
— token ID being sold (use empty string for TRX)buy_token_id
— token ID being purchased (use empty string for TRX)offset
— (optional) starting position for pagination (default: 0)limit
— (optional) maximum number of orders to return (default: 20, max: 100)
Response
orders
— array of market order objects, each containing:order_id
— unique identifier for the market orderowner_address
— hexadecimal address of the order creatorcreate_time
— timestamp when the order was createdsell_token_id
— token ID being soldsell_token_quantity
— quantity of tokens being soldbuy_token_id
— token ID being purchasedbuy_token_quantity
— quantity of tokens being purchasedsell_token_quantity_remain
— remaining quantity available for salebuy_token_quantity_remain
— remaining quantity to be purchasedstate
— current order status (typically ACTIVE for this query)
Use case
Thewallet/getmarketorderlistbypair
method is used for:
- Building order book displays for trading interfaces.
- Analyzing market depth and liquidity for specific trading pairs.
- Finding matching orders for automated trading strategies.
- Monitoring market activity and order placement patterns.
- Implementing market making and arbitrage detection systems.
This method only returns active orders that are available for matching. The order book shows the current state of supply and demand for the specified trading pair. Use empty string for token IDs when referring to TRX in the pair.
Body
application/json
Response
200 - application/json
Market orders for trading pair