Get all Pair addresses of a token
Returns DEX trades on Ethereum, where buy currency is 0xc02a…6cc2, exchange address is 0x1f98…f984 and time since 2023-05-22, sorted by trade amount, highest first: trade amount, count, quote amount, buy amount, sell amount, date date, buy currency name and 5 more fields.
What it returns
- trade amount
- count
- quote amount
- buy amount
- sell amount
- date date
- buy currency name
- buy currency address
- sell currency name
- sell currency address
- address address
- contract type
Filters
- buy currency is 0xc02a…6cc2
- exchange address is 0x1f98…f984
- time since 2023-05-22
- time till 2023-05-23
The query
{
buySellData: ethereum {
dexTrades(
options: {limitBy: {each: "buyCurrency.address,sellCurrency.address", limit: 1}, desc: "tradeAmount"}
buyCurrency: {is: "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2"}
time: {since: "2023-05-22T10:25:00", till: "2023-05-23T10:25:00"}
exchangeAddress: {is: "0x1f98431c8ad98523631ae4a59f267346ea31f984"}
) {
tradeAmount(in: USD, calculate: sum)
trades: count
txs: count(uniq: txs)
volume: quoteAmount(in: USD)
buyAmount: buyAmount(in: USD)
sellAmount: sellAmount(in: USD)
date {
date
}
buyCurrency {
name
address
}
sellCurrency {
name
address
}
smartContract {
address {
address
}
contractType
}
}
}
}
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