30 Compute Units.
Parameters
id- int32 - Transaction Pair ID
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
30 Compute Units.
id - int32 - Transaction Pair ID| Field | Type | Description |
|---|---|---|
| exchange_id | int64 | Exchange pair ID |
| creator_address | string | Creator address |
| create_time | int64 | Creation time |
| first_token_id | string | First token ID |
| first_token_balance | int64 | First token balance |
| second_token_id | string | Second token ID |
| second_token_balance | int64 | Second token balance |
// Result
{
"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
}
curl https://mainnet.tron.validationcloud.io/v1/<YOUR_API_KEY_HERE>/wallet/getexchangebyid \
-X POST \
-H "Content-Type: application/json" \
-d '{"id":1}'