DEX Protocol NFT Token Trades By Date

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

By Nadia · saved 10 January 2024 · Bitquery API v2

What it returns

Filters

The query

query ($network: evm_network, $from: String, $till: String, $protocol: String) {
  EVM(dataset: combined, network: $network) {
    DEXTrades(
      orderBy: {descending: Block_Date}
      where: {Block: {Date: {since: $from, till: $till}}, Trade: {Dex: {ProtocolName: {is: $protocol}}}}
    ) {
      ChainId
      Block {
        Date
      }
      count
    }
  }
}

Variables

{
  "network": "eth",
  "from": "2023-05-02",
  "till": "2023-05-09",
  "protocol": "seaport_v1.4"
}

Similar queries