POST
/
95e61622bf6a8af293978377718e3b77
/
wallet
/
getmarketorderbyaccount
wallet/getmarketorderbyaccount
curl --request POST \
  --url https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/wallet/getmarketorderbyaccount \
  --header 'Content-Type: application/json' \
  --data '{
  "address": "41b487cdb2d8dc7b2a8e5e7e7b4e3e8b8b8b8b8b",
  "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>"
    }
  ]
}
TRON API method that retrieves all market orders associated with a specific account. This includes both active and historical buy/sell orders placed on the TRON DEX marketplace.
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

  • address — hexadecimal address of the account whose market orders you want to query
  • 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 order
    • owner_address — hexadecimal address of the order creator
    • create_time — timestamp when the order was created
    • sell_token_id — token ID being sold (empty for TRX)
    • sell_token_quantity — quantity of tokens being sold
    • buy_token_id — token ID being purchased (empty for TRX)
    • buy_token_quantity — quantity of tokens being purchased
    • sell_token_quantity_remain — remaining quantity available for sale
    • buy_token_quantity_remain — remaining quantity to be purchased
    • state — current order status (ACTIVE, INACTIVE, CANCELED, etc.)

Use case

The wallet/getmarketorderbyaccount method is used for:
  • Viewing all trading orders for a specific account on TRON DEX.
  • Building portfolio management dashboards showing order history.
  • Tracking order execution status and remaining quantities.
  • Analyzing trading patterns and market participation.
  • Creating automated trading monitoring systems.
Market orders on TRON DEX can trade TRX against TRC-10 tokens. Empty token IDs represent TRX in the trading pair. The order state indicates whether the order is still active and available for matching with other orders.

Body

application/json

Response

200 - application/json

Market orders for the account

The response is of type object.