Skip to main content

/wallet/listexchanges REST API Endpoint

List all exchange pairs.

Updated on
Oct 4, 2023

/wallet/listexchanges REST API Endpoint

Body Parameters

visible
boolean
A boolean value indicating whether the address is in base58 format

Returns

exchanges
An array of exchange object with the following fields:
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
1
curl https://docs-demo.tron-mainnet.quiknode.pro/wallet/listexchanges \
2
--request GET \
3
--header 'accept: application/json'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free