DEX GRAPH

Returns DEX trades by token on Solana, where DEX protocol family is Raydium, sorted by block time: block time, count, unique of trade account owner and unique of trade currency mint address.

By Aleksey · saved 2 September 2024 · run 7 times · Bitquery API v2

What it returns

Filters

The query

query DexMarket($market: String) {
  Solana {
    
    DEXTradeByTokens(
      orderBy: {
        ascendingByField: "Block_Time"
      }
      where: {
        Trade: {
          Dex: {
            ProtocolFamily: {
              is: $market
            }
          }
        }
      }
    ) {
    	
      Block {
        Time(interval: {count: 1 in: hours})
      }
      
      trades: count
      traders: uniq(of: Trade_Account_Owner)
      tokens: uniq(of: Trade_Currency_MintAddress)
      
    }
    
    
  }
}

Variables

{"market": "Raydium"}

Similar queries