DEX Protocol NFT Token Trades By Date

Returns 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, sorted by block date: chain ID, block date and count.

By Nadia · saved 29 May 2023 · run 19 times · 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: {ascending: Block_Date}
      where: {
        Block: {Date: {since: $from till: $till }}
        Trade: {
          Buy: {Currency: {Fungible: false}}
        	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