Solana dextrades for a transaction

Returns the latest 20 DEX trades on Solana, where transaction signature is nJCKUM…hePi: 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 gaurav · saved 8 July 2025 · Bitquery API v2

What it returns

Filters

The query

{
  Solana {
    DEXTrades(
      where:{
        Transaction:{
          Signature:{
            is:"nJCKUMqFCeiqN98xF44pU8Hh1XCaVkuWAzQoii2Hm7SvpYjYiArmBh2LpEYSsrJdEL6xhYnW2DyPC6aXpRkhePi"
          }
        }
      }
      limit: {count: 20}, orderBy: {descending: Block_Time}) {
      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