POST
/
95e61622bf6a8af293978377718e3b77
/
wallet
/
listexchanges
List all trading pairs on the decentralized exchange
curl --request POST \
  --url https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/wallet/listexchanges \
  --header 'Content-Type: application/json' \
  --data '{
  "visible": true
}'
{
  "exchanges": [
    {
      "exchange_id": 1,
      "creator_address": "TLyqzVGLV1srkB7dToTAEqgDSfPtXRJZYH",
      "create_time": 1672531200000,
      "first_token_id": "1000001",
      "first_token_balance": "1000000000000",
      "second_token_id": "_",
      "second_token_balance": "5000000000"
    },
    {
      "exchange_id": 2,
      "creator_address": "TKcEU8ekq2ZoFzLSGBSC2xps5c4yssLYVB",
      "create_time": 1672617600000,
      "first_token_id": "1000002",
      "first_token_balance": "500000000000",
      "second_token_id": "1000001",
      "second_token_balance": "2000000000000"
    }
  ]
}
TRON API method that retrieves a list of all trading pairs available on the TRON decentralized exchange.
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

This method does not require any parameters.

Response

Returns an array of exchange objects, each containing:
  • exchange_id — unique identifier for the exchange pair
  • creator_address — address that created the exchange pair
  • create_time — timestamp when the exchange was created
  • first_token_id — token ID of the first token in the pair
  • first_token_balance — current balance of the first token
  • second_token_id — token ID of the second token in the pair
  • second_token_balance — current balance of the second token

Use case

The wallet/listexchanges method is used for:
  • Displaying all available trading pairs on decentralized exchange interfaces
  • Market discovery and analysis of available token pairs
  • Building exchange aggregators that need to know all active pairs
  • Monitoring liquidity pools and their current token balances

Body

application/json

Response

200
application/json

Successful response with list of exchanges

The response is of type object.