curl --request POST \
--url https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/wallet/getmarketorderlistbypair \
--header 'Content-Type: application/json' \
--data '
{
"sell_token_id": "1000006",
"buy_token_id": "1000001",
"offset": 0,
"limit": 20,
"visible": true
}
'{
"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": "1000006",
"buy_token_id": "1000001",
"offset": 0,
"limit": 20,
"visible": true
}
'{
"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 — TRC10 token ID being sold, as a numeric string (for example, “1000006”).buy_token_id — TRC10 token ID being purchased, as a numeric string.offset — (optional) starting position for pagination (default: 0)limit — (optional) maximum number of orders to return (default: 20, max: 100)visible — (optional) when true, some nodes accept the request more reliably.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:
curl --request POST \
--url 'https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/wallet/getmarketorderlistbypair' \
--header 'Content-Type: application/json' \
--data '{
"sell_token_id": "1000006",
"buy_token_id": "1000001",
"offset": 0,
"limit": 20,
"visible": true
}'
TRC10 token ID being sold, as a numeric string (for example, '1000006').
TRC10 token ID being purchased, as a numeric string.
Starting position for pagination (default: 0)
Maximum number of orders to return (default: 20, max: 100)
Optional. Some node builds require visible: true for this endpoint.
Market orders for trading pair
Show child attributes
Unique identifier for the market order
Order creator address
Order creation timestamp
Token ID being sold
Quantity of tokens being sold
Token ID being purchased
Quantity of tokens being purchased
Remaining quantity for sale
Remaining quantity to purchase
Order status
Was this page helpful?