curl --request POST \
--url https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/wallet/getmarketorderbyid \
--header 'Content-Type: application/json' \
--data '
{
"order_id": "0x1234567890abcdef1234567890abcdef12345678"
}
'{
"order_id": "<string>",
"owner_address": "<string>",
"create_time": 123,
"sell_token_id": "<string>",
"sell_token_quantity": "<string>",
"buy_token_id": "<string>",
"buy_token_quantity": "<string>",
"sell_token_quantity_remain": "<string>",
"buy_token_quantity_remain": "<string>",
"state": "<string>",
"prev": "<string>",
"next": "<string>"
}curl --request POST \
--url https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/wallet/getmarketorderbyid \
--header 'Content-Type: application/json' \
--data '
{
"order_id": "0x1234567890abcdef1234567890abcdef12345678"
}
'{
"order_id": "<string>",
"owner_address": "<string>",
"create_time": 123,
"sell_token_id": "<string>",
"sell_token_quantity": "<string>",
"buy_token_id": "<string>",
"buy_token_quantity": "<string>",
"sell_token_quantity_remain": "<string>",
"buy_token_quantity_remain": "<string>",
"state": "<string>",
"prev": "<string>",
"next": "<string>"
}order_id — unique identifier of the market order to query (as hexadecimal string)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)wallet/getmarketorderbyid method is used for:
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.Unique identifier of the market order (hex string)
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
Was this page helpful?