Daily Trade Amount All Pools

Get WETH trade amount on daily basis across all pools.

Returns the latest 100 DEX trades by token on Ethereum, where side currency smart contract is 0xC02a…6Cc2, block date after 2023-10-11 and block date before 2023-10-13: sum of trade amount, block date, pair name, pair symbol and protocol name.

By Divyasshree N · saved 29 November 2023 · run 6 times · Bitquery API v2

What it returns

Filters

The query

query MyQuery {
  EVM(dataset: combined, network: eth) {
    DEXTradeByTokens(
      where: {Trade: {Side: {Currency: {SmartContract: {is: "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2"}}}}, Block: {Date: {after: "2023-10-11", before: "2023-10-13"}}}
      limit: {count: 100}
      orderBy: {descending: Block_Date}
    ) {
      sum(of: Trade_Amount)
      Block {
        Date
      }
      Trade {
        Dex {
          Pair {
            Name
            Symbol
          }
          ProtocolName
        }
      }
    }
  }
}

Similar queries