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
order_id
— unique identifier of the market order to query (as hexadecimal string)
Response
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 sold (empty for TRX)sell_token_quantity
— original quantity of tokens being soldbuy_token_id
— token ID being purchased (empty for TRX)buy_token_quantity
— original quantity of tokens being purchasedsell_token_quantity_remain
— remaining quantity available for salebuy_token_quantity_remain
— remaining quantity to be purchasedstate
— current order status (ACTIVE, INACTIVE, CANCELED, etc.)prev
— previous order ID in the order book (if applicable)next
— next order ID in the order book (if applicable)
Use case
Thewallet/getmarketorderbyid
method is used for:
- Checking the current status and execution progress of a specific order.
- Monitoring order fulfillment and remaining quantities.
- Building order tracking interfaces for trading applications.
- Verifying order details before attempting modifications or cancellations.
- Investigating order book structure and linked order relationships.
The
prev
and next
fields help navigate the order book structure, showing how orders are linked in the matching system. Empty token IDs represent TRX in trading pairs. Order states indicate the current execution status and availability for matching.Body
application/json
Unique identifier of the market order (hex string)
Response
200 - application/json
Market order details
Unique identifier for the market order
Order creator address
Order creation timestamp
Token ID being sold (empty for TRX)
Original quantity of tokens being sold
Token ID being purchased (empty for TRX)
Original quantity of tokens being purchased
Remaining quantity for sale
Remaining quantity to purchase
Order status
Previous order ID in order book
Next order ID in order book