Solana dextrades

Returns the latest 2 DEX trades on Solana: protocol name, protocol family, buy amount in USD, buy currency symbol, buy currency name, buy currency mint address, buy price and 7 more fields.

By Eddie Madrigal · saved 4 June 2025 · Bitquery API v2

What it returns

The query

{
  Solana {
    DEXTrades(limit: {count: 2}, orderBy: {descending: Block_Time}) {
      Trade {
        Dex {
          ProtocolName
          ProtocolFamily(selectWhere: {})
        }
        Buy {
          AmountInUSD
          Currency {
            Symbol
            Name
            MintAddress
          }
          Price
        }
        Sell {
          AmountInUSD
          Currency {
            Symbol
            Name
            MintAddress
          }
          Price
        }
      }
      Block {
        Time
        Height
      }
    }
  }
}

Similar queries