list tokens that has pools on raydium

with side currency WSOL

Returns 10 DEX trades by token on Solana, where side currency mint address is So1111…1112, DEX protocol family is Raydium and block date since 2024-05-01, sorted by block time: block time, protocol name, program address, market address, currency symbol, currency name, currency mint address and 2 more fields.

By Richard · saved 18 March 2025 · run 27 times · Bitquery API v2

What it returns

Filters

The query

query querySolanaTokenPairsByProtocol($dataset: dataset_arg_enum, $limit: Int, $offset: Int, $startDate: String, $endDate: String,
    $protocolFamily: String, $quoteCurrencyAddress: String){
  Solana(dataset: $dataset) {
    DEXTradeByTokens(
      orderBy: {ascending: Block_Time}
      limitBy: {by: Trade_Currency_MintAddress, count: 1}
      where: {Block: {Date: {since: $startDate, till: $endDate}}, Trade: {Dex: {ProtocolFamily: {is: $protocolFamily}}, Side: {Currency: {MintAddress: {is: $quoteCurrencyAddress}}}}}
      limit: {count: $limit, offset: $offset}
    ) {
      Block {
        Time(minimum: Block_Time)
      }
      Trade {
        Dex {
          ProtocolName
          ProgramAddress
        }
        Market {
          MarketAddress
        }
        Currency {
          Symbol
          Name
          MintAddress
        }
        Side {
          Currency {
            Symbol
            Name
          }
        }
      }
    }
  }
}

Variables

{
  "dataset": "archive",
	"startDate": "2024-05-01",
  "endDate": "2024-06-01",
  "limit": 10,
  "offset": 0,
  "protocolFamily": "Raydium",
  "quoteCurrencyAddress": "So11111111111111111111111111111111111111112"
}

Similar queries