top dexs

Returns DEX trades by token and DEX pools on Solana: protocol family, unique of trade account owner, count and unique of pool market market address.

By Akshat · saved 19 September 2024 · run 58 times · Bitquery API v2

What it returns

The query

query DexMarkets {
  Solana {
    DEXTradeByTokens {
      Trade {
        Dex {
          ProtocolFamily
        }
      }
      traders: uniq(of: Trade_Account_Owner)
      count(if: {Trade: {Side: {Type: {is: buy}}}})
    }
    DEXPools {
      Pool {
        Dex {
          ProtocolFamily
        }
      }
      pools: uniq(of: Pool_Market_MarketAddress)
    }
  }
}

Similar queries