solana trades

Returns the latest 20 DEX trades on Solana, where transaction signature is 4cJPZZ…Jpr3: protocol name, protocol family, market address, buy amount, buy amount in USD, buy currency symbol, buy currency name and 12 more fields.

By gaurav · saved 29 August 2025 · Bitquery API v2

What it returns

Filters

The query

{
  Solana {
    DEXTrades(limit: {count: 20}, orderBy: {descending: Block_Time}
    where:{
      Transaction:{
      Signature:{
        is:"4cJPZZH4SZjzvCcgQcCvfBJDvaKdz6sUjTuD9QXvM8UNjM3V1mwaG12pXT9MwR85QBJiMGpkVBgayC1n7ixqJpr3"
      }
        
        Result:{
          Success:true
        }
      }
     }
    ) {
      Trade {
        Dex {
          ProtocolName
          ProtocolFamily
        }
        Market{
          MarketAddress
        }
        Buy {
          Amount
          AmountInUSD
          Currency {
            Symbol
            Name
            MintAddress
          }
          Price
        }
        Sell {
          Amount
          AmountInUSD
          Currency {
            Symbol
            Name
            MintAddress
          }
          Price
        }
      }
      Block {
        Time
        Height
      }
      Transaction {
        Signature
        FeePayer
      }
    }
  }
}

Similar queries