NFT Token Trades By Date

Returns the latest DEX trades on Ethereum, where block date since 2023-05-02 and block date till 2023-05-09: block date, protocol family, protocol version, protocol name, count and chain ID.

By Nadia · saved 4 January 2024 · run 1 time · Bitquery API v2

What it returns

Filters

The query

query ($network: evm_network, $from: String, $till: String) {
  EVM(dataset: combined, network: $network) {
    DEXTrades(
      orderBy: {descending: Block_Date}
      where: {Block: {Date: {since: $from, till: $till}}, Trade: {Buy: {Currency: {Fungible: false}}}}
    ) {
      Block {
        Date
      }
      Trade {
        Dex {
          ProtocolFamily
          ProtocolVersion
          ProtocolName
        }
      }
      count
      ChainId
    }
  }
}

Variables

{
  "network": "eth",
  "from": "2023-05-02",
  "till": "2023-05-09"
}

Similar queries