How can I retrieve the history of trades associated with a specific address on the blockchain?
Returns 20 DEX trades on Ethereum, where maker or taker is 0x9a46…9bbe, date since 2023-04-13 and date till 2023-04-20: sell currency symbol, sell currency address, sell amount, buy currency symbol, buy currency address and buy amount.
What it returns
- sell currency symbol
- sell currency address
- sell amount
- buy currency symbol
- buy currency address
- buy amount
Filters
- maker or taker is 0x9a46…9bbe
- date since 2023-04-13
- date till 2023-04-20
The query
query ($network: EthereumNetwork!, $limit: Int!, $offset: Int!, $from: ISO8601DateTime, $till: ISO8601DateTime, $address: String!) {
ethereum(network: $network) {
dexTrades(
options: { limit: $limit, offset: $offset}
date: {since: $from, till: $till}
makerOrTaker: {is: $address}
) {
sellCurrency {
symbol
address
}
sellAmount
buyCurrency {
symbol
address
}
buyAmount
}
}
}
Variables
{
"limit": 20,
"offset": 0,
"network": "ethereum",
"address": "0x9a46619ab761b19c662843fbc0105b3e28249bbe",
"from": "2023-04-13",
"till": "2023-04-20T23:59:59",
"dateFormat": "%Y-%m-%d"
}
Similar queries
- Latest Curve DEX swaps on Ethereum · Ethereum · DEXTrades
- Top Curve liquidity pools by 24h volume on Ethereum · Ethereum · DEXTrades
- STRN_TOKEN_MULTIPLE_DECIMALS_DEX_TRADES · Ethereum · DEXTrades
- USDT DECIMAL SHOWING 0 · Ethereum · DEXTrades
- Trades - 0xEE61159E8A72A08371c52D62c19Efd0C7914f917 · Ethereum · DEXTrades