/walletsolidity/getexchangebyid REST API Endpoint
Body Parameters
id
string
REQUIRED
The transaction pair id
Returns
exchange_id
The unique identifier of the exchange
creator_address
The TRON address of the user who created the exchange. It specifies the TRON wallet address of the creator
create_time
A timestamp representing the time when the exchange was created. It is usually provided in milliseconds since the Unix epoch
first_token_id
The token ID of the first token involved in the exchange. It identifies the specific token that the owner wants to exchange
first_token_balance
The balance or amount of the first token that the owner has available for the exchange
second_token_id
The token ID of the second token involved in the exchange. It identifies the specific token that the owner wants to receive in exchange for the first token
second_token_balance
The balance or amount of the second token that the owner has available for the exchange
Request
1curl https://docs-demo.tron-mainnet.quiknode.pro/walletsolidity/getexchangebyid \2--header 'accept: application/json' \3--header 'content-type: application/json' \4--data '{5"id":16}7'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free