Solana dextrades

Returns the latest 20 DEX trades on Solana, where transaction signature is 4SNHTy…omD2: protocol name, protocol family, buy amount, buy amount in USD, buy currency symbol, buy currency name, buy currency mint address and 13 more fields.

By gaurav · saved 28 February 2025 · run 2 times · Bitquery API v2

What it returns

Filters

The query

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

Similar queries