Aavegochi NFT analytics

Returns 10 DEX trades on Ethereum, where buy currency smart contract is 0x1906…fa70, sorted by count, highest first: sum of trade buy amount, sum of trade sell amount, count, block date, buy currency name, buy protocol name, buy currency symbol and 7 more fields.

By gaurav · saved 29 March 2024 · run 3 times · Bitquery API v2

What it returns

Filters

The query

query MyQuery {
  EVM(dataset: combined, network: eth) {
    DEXTrades(
      where: {Trade: {Buy: {Currency: {SmartContract: {is: "0x1906fd9c4ac440561f7197da0a4bd2e88df5fa70"}}}}}
      orderBy: {descendingByField: "count"}
      limit: {count: 10}
    ) {
      tradeVol: sum(of: Trade_Buy_Amount)
      tradeSellVol: sum(of: Trade_Sell_Amount)
      count
      buyer: count(distinct: Trade_Buy_Buyer)
      seller: count(distinct: Trade_Buy_Seller)
      nfts: count(distinct: Trade_Buy_Ids)
      Block {
        Date
      }
      Trade {
        Buy {
          Currency {
            Name
            ProtocolName
            Symbol
            Fungible
            SmartContract
          }
        }
        Sell {
          Currency {
            Name
            ProtocolName
            Symbol
            Fungible
            SmartContract
          }
        }
      }
    }
  }
}

Similar queries