1bentest

Returns the latest DEX trades on Ethereum, where sell currency smart contract is 0x0bc5…d93e, 0x9360…8028 or 13 more and block number is 18596970, 18596966 or 3 more: block number, block time, from, to, transaction hash, buy amount, buy currency symbol and 4 more fields.

By Omkar_BQ · saved 18 November 2023 · run 1 time · Bitquery API v2

What it returns

Filters

The query

{
  EVM(network: eth, dataset: combined) {
    buyside: DEXTrades(
      orderBy: {descending: Block_Time}
      where: {Trade: {Sell: {Currency: {SmartContract: {in:[
  "0x0bc529c00c6401aef6d220be8c6ea1667f6ad93e",
  "0x9360c489056b64d5003bf22f4f31458e31cc8028",
  "0x0f7b3f5a8fed821c5eb60049538a548db2d479ce",
  "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
  "0x72e4f9f808c49a2a61de9c5896298920dc4eeea9",
  "0xb2fd1e0478dbf61772996bcce8a2f1151eeeda37",
  "0x5a3e6a77ba2f983ec0d371ea3b475f8bc0811ad5",
  "0xc5fb36dd2fb59d3b98deff88425a3f425ee469ed",
  "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
  "0xf203ca1769ca8e9e8fe1da9d147db68b6c919817",
  "0xdac17f958d2ee523a2206206994597c13d831ec7",
  "0xf21661d0d1d76d3ecb8e1b9f1c923dbfffae4097",
  "0x2260fac5e5542a773aa44fbcfedf7c193bc2c599",
  "0x0001a500a6b18995b03f44bb040a5ffc28e45cb0",
  "0x6b175474e89094c44da98b954eedeac495271d0f"
]
}}}}, Block: {Number: {in: ["18596970", "18596966", "18596967", "18596968", "18596969"]}}}
    ) {
      Block {
        Number
        Time
      }
      Transaction {
        From
        To
        Hash
      }
      Trade {
        Buy {
          Amount
          Currency {
            Symbol
          }
        }
        Sell {
          Amount
          Currency {
            Name
            SmartContract
            Symbol
          }
        }
      }
    }
  }
}

Similar queries