PoolTransactions
This query helps to extract every swap transaction and their amount and prices for a specific
What it returns
- sum of trade buy amount
- sum of trade sell amount
- block date
- sell amount
- sell currency name
- sell smart contract
- sell price
- sell price in USD
- sell ids
- sell order ID
- sell uris
- buy currency name
- buy smart contract
- buy amount
- buy amount in USD
- buy price
- buy price in USD
- buy ids
- buy order ID
- buy uris
- sender
- transaction hash
Filters
- pair smart contract is 0x0d4a…1852
- block time since 2024-07-22
The query
{
EVM(dataset: combined, network: eth) {
volume: DEXTrades(
where: {Block: {Time: {since: "2024-07-22T10:01:55.000Z"}}, Trade: {Dex: {Pair: {SmartContract: {is: "0x0d4a11d5eeaac28ec3f61d100daf4d40471f1852"}}}}}
orderBy: {ascending: Block_Date}
) {
token1_vol: sum(of: Trade_Buy_Amount)
token2_vol: sum(of: Trade_Sell_Amount)
Block {
Date
}
Trade {
Sell {
Amount
Currency {
Name
SmartContract
}
Price
PriceInUSD
Ids
OrderId
URIs
}
Buy {
Currency {
Name
SmartContract
}
Amount
AmountInUSD
Price
PriceInUSD
Ids
OrderId
URIs
}
Sender
}
Transaction {
Hash
}
}
}
}
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