multiple contracts with date filter
Returns 25000 DEX trades on Ethereum, where buy currency smart contract is 0xbd35…2cf8, 0xbc4c…f13d or 6 more, sorted by transaction hash: 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 0xbd35…2cf8, 0xbc4c…f13d or 6 more
The query
{
EVM(dataset: archive, network: eth) {
DEXTrades(
where: {Trade: {Buy: {Currency: {SmartContract: {in: ["0xbd3531da5cf5857e7cfaa92426877b022e612cf8", "0xbc4ca0eda7647a8ab7c2061c2e118a18a936f13d", "0x23581767a106ae21c074b2276d25e5c3e136a68b", "0x524cab2ec69124574082676e6f654a18df49a048", "0x49cf6f5d44e70224e2e23fdcdd2c053f30ada28b", "0xc0ffee8ff7e5497c2d6f7684859709225fcc5be8", "0x307af7d28afee82092aa95d35644898311ca5360", "0xb8ea78fcacef50d41375e44e6814ebba36bb33c4"]}}}}, Block: {Date: {till_relative: {months_ago: 10}}}}
orderBy: {ascending: Transaction_Hash}
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