Total sales volume of NFTs in categories (art, gaming, fashion, etc) over the past week

Returns DEX trades on Ethereum, where buy currency smart contract is 0x4E1f…0e56, 0x572E…f784 or 3 more, DEX protocol name is seaport_v1.4 and block date since 2024-03-21, sorted by count, highest first: sum of trade buy amount, count, buy currency name, buy protocol name, buy currency symbol, buy fungible and buy smart contract.

By Akshat · saved 29 March 2024 · run 4 times · Bitquery API v2

What it returns

Filters

The query

query MyQuery {
  EVM(dataset: combined, network: eth) {
    DEXTrades(
      where: {Block: {Date: {since: "2024-03-21", till: "2024-03-27"}},Trade: {Dex: {ProtocolName: {in: "seaport_v1.4"}}, Buy: {Currency: {SmartContract: {in: ["0x4E1f41613c9084FdB9E34E11fAE9412427480e56","0x572E33FFa523865791aB1C26B42a86aC244Df784","0x68F4Ba8018216542Ac2Ab8125166Be66304DD71c","0x28472a58A490c5e09A238847F66A68a47cC76f0f","0x6Fd8e343c107a24Bd6b8aC19B56d9AeB967C0131"]}}}}}
      orderBy: {descendingByField: "count"}
     
    ) {
      tradeVol: sum(of: Trade_Buy_Amount)
      count
      buyers: count(distinct: Trade_Buy_Buyer)
      nfts: count(distinct: Trade_Buy_Ids)
      Trade {
        Buy {
          Currency {
            Name
            ProtocolName
            Symbol
            Fungible
            SmartContract
          }
        }
      }
    }
  }
}

Similar queries