Copy of dex-trade-not-include-damm-v2

Solana dextrades

Returns DEX trades on Solana, where DEX program address is cpamdp…1sGG: protocol name, protocol family, buy amount, buy amount in USD, buy currency symbol, buy currency name, buy currency mint address and 11 more fields.

By Divyasshree · saved 2 June 2025 · run 1 time · Bitquery API v2

What it returns

Filters

The query

{
  Solana(network: solana, dataset: realtime) {
    DEXTrades(
      limit: {}
      orderBy: {}
      where: {Trade: {Dex: {ProgramAddress: {is: "cpamdpZCGKUy5JxQXB4dcpGPiikHawvSWAd6mEn1sGG"}}}}
    ) {
      Trade {
        Dex {
          ProtocolName
          ProtocolFamily
        }
        Buy {
          Amount
          AmountInUSD
          Currency {
            Symbol
            Name
            MintAddress
          }
          Price
        }
        Sell {
          Amount
          AmountInUSD
          Currency {
            Symbol
            Name
            MintAddress
          }
          Price
        }
      }
      Block {
        Time
        Height
      }
      Transaction {
        Signature
        FeePayer
      }
    }
  }
}

Similar queries