✨DEX Trades
Returns the DEX Trades executed by a given address
https://api.vechainstats.com/v2/account/dex-trades
?address=0xa416bdda32b00e218f08ace220bab512c863ff2f
&page=1
&sort=desc
&VCS_API_KEY=your_api_keyParameter
Description
address
The address you want to query
page
the integer page number, the available pages are shown in the response meta fields
sort
The sorting preference, use asc to sort by ascending and desc to sort by descending
{
"status": {
"success": true,
"message": "OK"
},
"data": [
{
"txid": "0x6527831ae1d3ab5bb4c1aa449a7529fbf05f05ab413461ab6fec1d1010589e30",
"origin": "0xa416bdda32b00e218f08ace220bab512c863ff2f",
"block_height": 19000355,
"block_timestamp": 1720531560,
"platform": "verocket",
"input_token": "hai",
"input_amount": "188.000000000000000000",
"output_token": "vet",
"output_amount": "295.867971557107647635"
},
{
"txid": "0x95017936396209ad0c2a07eed37c4e241a0db9c4e0b1169c4e10a5602a1117a2",
"block_height": 19000336,
"block_timestamp": 1720531370,
"platform": "verocket",
"input_token": "hai",
"input_amount": "188.000000000000000000",
"output_token": "vet",
"output_amount": "296.135500352510107065",
"origin": "0xa416bdda32b00e218f08ace220bab512c863ff2f"
},
{
"txid": "0x2d840868b6eb1aa1148ab2de3634247acf365f862a0d5821d7754f42f2bbe417",
"block_height": 19000284,
"block_timestamp": 1720530850,
"platform": "verocket",
"input_token": "hai",
"input_amount": "188.000000000000000000",
"output_token": "vet",
"output_amount": "297.144533489993423820",
"origin": "0xa416bdda32b00e218f08ace220bab512c863ff2f"
}
],
"meta": {
"address": "0xa416bdda32b00e218f08ace220bab512c863ff2f",
"count": 297900,
"page": 1,
"pages": 1490,
"per_page": 200,
"sort": "desc",
"timestamp": 1720532727
}
}Last updated
Was this helpful?