Solana dextrades

Returns the latest DEX trades on Solana, where DEX program address is CAMMCz…rWqK, CPMMoo…KP1C or 4 more: protocol name, protocol family, buy amount, buy amount in USD, buy currency symbol, buy currency name, buy currency mint address and 20 more fields.

By Manav Khullar · saved 5 August 2025 · run 3 times · Bitquery API v2

What it returns

Filters

The query

{
  Solana {
    DEXTrades(
      orderBy: {descending: Block_Time}
      where: {Trade: {Dex: {ProgramAddress: {in: ["CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK","CPMMoo8L3F4NbTegBCKVNunggL7H1ZpdTHKxQB5qKP1C","675kPX9MHTjS2zt1qfr1NYHuzeLXfQM9H24wFSUt1Mp8","CPMMoo8L3F4NbTegBCKVNunggL7H1ZpdTHKxQB5qKP1C","5quBtoiQqxF9Jv6KYKctB59NT3gtJD2Y65kdnB1Uev3h","whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc"]}}}}
    ) {
      Trade {
        
        Dex {
          ProtocolName
          ProtocolFamily
        }
        Buy {
          Amount
          AmountInUSD
          Currency {
            Symbol
            Name
            MintAddress
            Decimals
          }
          Price
          PriceInUSD
        }
        Sell {
          Amount
          AmountInUSD
          Currency {
            Symbol
            Name
            MintAddress
            Decimals
          }
          Price
          PriceInUSD
        }
        Market {
          MarketAddress
        }
      }
      Transaction {
        Signature
        Fee
        Result{
          Success
          ErrorMessage
        }
        
      }
      Block{
        Date
        Hash
        Slot
        Time
        
      }
    }
  }
}

Similar queries