example
Returns 25000 DEX trades on Ethereum, where buy currency smart contract is 0x9Ac9…77Fd or 0x6874…2f38, sorted by block time: block time, buy price, buy ids, buy currency symbol, buy smart contract, buy currency name, buy amount in USD and 12 more fields.
What it returns
- block time
- buy price
- buy ids
- buy currency symbol
- buy smart contract
- buy currency name
- buy amount in USD
- buy amount
- buy seller
- buy price in USD
- sell amount
- sell currency symbol
- protocol name
- smart contract
- protocol version
- protocol family
- success
- sender
- transaction hash
Filters
- buy currency smart contract is 0x9Ac9…77Fd or 0x6874…2f38
The query
{
EVM(dataset: archive, network: eth) {
DEXTrades(
where: {Trade: {Buy: {Currency: {SmartContract: {in: ["0x9Ac9468E7E3E1D194080827226B45d0B892C77Fd", "0x68749665ff8d2d112fa859aa293f07a622782f38"]}}}}}
orderBy: {ascending: Block_Time}
limit: {count: 25000}
) {
Block {
Time
}
Trade {
Buy {
Price
Ids
Currency {
Symbol
SmartContract
Name
}
AmountInUSD
Amount
Seller
PriceInUSD
}
Sell {
Amount
Currency {
Symbol
}
}
Dex {
ProtocolName
SmartContract
ProtocolVersion
ProtocolFamily
Pair {
SmartContract
}
}
Success
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