curl --request POST \
--url https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/wallet/getmarketorderlistbypair \
--header 'Content-Type: application/json' \
--data '{
"sell_token_id": "",
"buy_token_id": "1002000",
"offset": 0,
"limit": 20
}'
{
"orders": [
{
"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>"
}
]
}
curl --request POST \
--url https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/wallet/getmarketorderlistbypair \
--header 'Content-Type: application/json' \
--data '{
"sell_token_id": "",
"buy_token_id": "1002000",
"offset": 0,
"limit": 20
}'
{
"orders": [
{
"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>"
}
]
}
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)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)wallet/getmarketorderlistbypair
method is used for:
Market orders for trading pair
The response is of type object
.