Get Top Traded NFT Tokens

Returns 10 DEX trades on Ethereum, where block date since 2023-03-01 and block date till 2023-03-07, sorted by count, highest first: buy currency symbol, buy smart contract, buy price, sell currency symbol, sell smart contract, sum of trade buy amount, sum of trade sell amount and count.

By Ashpreet Singh Anand · saved 15 March 2024 · run 4 times · Bitquery API v2

What it returns

Filters

The query

{
  EVM(dataset: combined, network: eth) {
    DEXTrades(
      orderBy: {descendingByField: "count"}
      limit: {offset: 0, count: 10}
      where: {Block: {Date: {since: "2023-03-01", till: "2023-03-07"}}, Trade: {Buy: {Currency: {Fungible: false}}, Sell: {Currency: {Fungible: true}}}}
    ) {
      Trade {
        Buy {
          Currency {
            Symbol
            SmartContract
          }
          min_price: Price(minimum: Trade_Buy_Price)
          max_price: Price(maximum: Trade_Buy_Price)
        }
        Sell {
          Currency {
            Symbol
            SmartContract
          }
        }
      }
      buy_amount: sum(of: Trade_Buy_Amount)
      sell_amount: sum(of: Trade_Sell_Amount)
      count
    }
  }
}

Similar queries