Top 10 pairs on Solana as per volume

Returns 10 DEX trades by token on Solana, where side currency mint address is So1111…1112 and block time since 2024-07-27, sorted by volume, highest first: currency name, currency symbol, side currency name, side currency symbol, protocol name, program address, market address and sum of trade side amount in USD.

By Akshat · saved 27 July 2024 · run 4 times · Bitquery API v2

What it returns

Filters

The query

query MyQuery {
  Solana {
    DEXTradeByTokens(
      limit: {count: 10}
      orderBy:{descendingByField:"volume"}
      where: {Block: {Time: {since: "2024-07-27T06:33:00Z"}}, Trade: {Side: {Currency: {MintAddress: {is: "So11111111111111111111111111111111111111112"}}}}, Transaction: {Result: {Success: true}}}
    ) {
      Trade {
        Currency {
          Name
          Symbol
        }
        Side {
          Currency {
            Name
            Symbol
          }
        }
        Dex{
          ProtocolName
          ProgramAddress
        }
        Market {
          MarketAddress
        }
      }
      volume: sum(of: Trade_Side_AmountInUSD)
    }
  }
}

Similar queries