Transaction_API

Returns DEX trades on Ethereum, where buy currency smart contract is 0xc02a…6cc2, transaction hash is 0x53d0…1b46 and block date since 2023-10-15, sorted by trade buy amount, highest first: buy buyer, buy amount, block date, block time and transaction hash.

By Vishal · saved 10 April 2024 · run 9 times · Bitquery API v2

What it returns

Filters

The query

query MyQuery {
  EVM(dataset: combined, network: eth) {
    DEXTrades(
      where: {Block: {Date: {since: "2023-10-15", till: "2023-11-11"}}, Trade: {Buy: {Currency: {SmartContract: {is: "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2"}}}}, Transaction: {Hash: {is: "0x53d02f4627e55fa8a08d284d635937e730b5e5a3803b661478e84657473e1b46"}}}
      orderBy: {descending: Trade_Buy_Amount}
     
    ) {
      Trade {
        Buy {
          Buyer
          Amount
        }
      }
      Block {
        Date
        Time
      }
      Transaction {
        Hash
      }
    }
  }
}

Similar queries