Solana dextrades for transaction

Returns the latest 20 DEX trades on Solana, where transaction signature is 2bN8mV…xnS9: protocol name, protocol family, program address, buy account address, buy account owner, buy token owner, buy account and 44 more fields.

By gaurav · saved 20 June 2025 · Bitquery API v2

What it returns

Filters

The query

{
  Solana {
    DEXTrades(
      where: {Transaction: {Signature: {is: "2bN8mVkSxXfMDMTQv92vVVeWUWivLvWdBLQ7nV2ZdEZJvs6CYCAX1NsrZR86y1DYDPJDKS9VQEUbWCQi2mbUxnS9"}}}
      limit: {count: 20}
      orderBy: {descending: Block_Time}
    ) {
      Trade {
        Dex {
          ProtocolName
          ProtocolFamily
          ProgramAddress
        }
        Buy {
          Account {
            Address
            Owner
            Token {
              Owner
            }
          }
          Order {
            Account
            BuySide
            LimitAmount
            LimitPrice
            Mint
            OrderId
            Owner
            Payer
          }
          Amount
          AmountInUSD
          Currency {
            Symbol
            Name
            MintAddress
          }
          Price
          PriceInUSD
        }
        Sell {
          Account {
            Address
            Owner
            Token {
              Owner
            }
          }
          Order {
            Account
            BuySide
            LimitAmount
            LimitPrice
            Mint
            OrderId
            Owner
            Payer
          }
          Amount
          AmountInUSD
          Currency {
            Symbol
            Name
            MintAddress
          }
          Price
          PriceInUSD
        }
      }
      Block {
        Date
        Hash
        Slot
        Time
        Height
      }
      Transaction {
        Fee
        FeeInUSD
        FeePayer
        Index
        Result {
          ErrorMessage
          Success
        }
        Signature
        FeePayer
      }
    }
  }
}

Similar queries