derivative trades for Wrapped Ether (WETH)

Returns the latest 10 DEX trades on Ethereum, where buy currency smart contract is 0xc02a…6cc2: block date, buy amount, buy currency name, sell amount and sell currency name.

By Pratik Khanal · saved 8 April 2024 · run 2 times · Bitquery API v2

What it returns

Filters

The query

query MyQuery {
  EVM(dataset: archive, network: eth) {
    DEXTrades(
      limit: {count: 10}
      orderBy: {descending: Block_Date}
      where: {Trade: {Buy: {Currency: {SmartContract: {is: "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2"}}}}}
    ) {
      Block {
        Date
      }
      Trade {
        Buy {
          Amount
          Currency {
            Name
          }
        }
        Sell {
          Amount
          Currency {
            Name
          }
        }
      }
    }
  }
}

Similar queries