top pairs on solana last 24 hours

Returns 100 DEX trades on Solana, sorted by count, highest first: count, sum of trade buy amount, sum of trade sell amount, market address, buy currency mint address, buy currency symbol, buy currency name and 3 more fields.

By Matthew Atteberry · saved 21 April 2025 · run 2 times · Bitquery API v2

What it returns

The query

query ($time_1h_ago: DateTime) {
  Solana {
    DEXTrades(
      orderBy: {descendingByField: "count"}
      limit: {count: 100}
      limitBy: {by: Trade_Market_MarketAddress, count: 1}
      where: {Block: {Time: {since: $time_1h_ago}}}
    ) {
      count
      buyAmount: sum(of: Trade_Buy_Amount)
      sellAmount: sum(of: Trade_Sell_Amount)
      Trade {
        Market {
          MarketAddress
        }
        Buy {
          Currency {
            MintAddress
            Symbol
            Name
          }
        }
        Sell {
          Currency {
            MintAddress
            Symbol
            Name
          }
        }
      }
    }
  }
}

Similar queries