Skip to main content
TRON API method that retrieves detailed information about a specific exchange trading pair by its unique identifier.
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

  • id — the unique exchange ID to query

Response

Returns an exchange object 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/getexchangebyid method is used for:
  • Retrieving specific exchange pair details for trading interfaces
  • Checking current liquidity balances before executing trades
  • Monitoring individual exchange pair performance and metrics
  • Validating exchange pair existence before performing operations