Solana Swaps

Solana dextrades

Returns the latest DEX trade on Solana: block height, block time, protocol name, protocol family, buy amount, buy amount in USD, buy currency symbol and 9 more fields.

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

What it returns

The query

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

Similar queries