Skip to main content

/wallet/getexchangebyid REST API Endpoint

Query exchange pair based on id

Updated on
Oct 04, 2023

/wallet/getexchangebyid REST API Endpoint

Body Parameters

id
integer
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
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free