GetExchangeById

Query exchange pair based on id

Return value:exchange

Body params:

  • id - Transaction Pair ID

Request

curl --request POST \
     --url https://tron.api.watchdata.io/wallet/getexchangebyid \
     --header 'Accept: application/json' \
     --header 'Content-Type: application/json' \
     --data '{"id":1}'

Response

{
  "exchange_id": 1,
  "creator_address": "410ca7c49aa44d26aabfe7f594c645cf9f17a4ff70",
  "create_time": 1575754887000,
  "first_token_id": "31303030303033",
  "first_token_balance": 9,
  "second_token_id": "5f",
  "second_token_balance": 240000000
}

Last updated