trades

Returns the latest 50 DEX trades by token on Solana, where DEX program address is 675kPX…1Mp8 and currency mint address is En4HWN…pump: block time, block hash, slot, block height, transaction signature, transaction fee, fee payer and 15 more fields.

By gaurav · saved 12 March 2026 · Bitquery API v2

What it returns

Filters

The query

query LatestTrades {
  Solana {
    DEXTradeByTokens(
      orderBy: {descending: Block_Time}
      limit: {count: 50}
      where: {Trade: {
        
        Dex:{ProgramAddress:{is:"675kPX9MHTjS2zt1qfr1NYHuzeLXfQM9H24wFSUt1Mp8"}}
        Currency: 
        {MintAddress: {is: "En4HWNwaUA7bHj18tYfYZtRjnSHPcBkdxAVeYS1Lpump"}}}}
    ) {
      Block {
        Time
        Hash
        Slot
        Height
      }
      Transaction {
        Signature
        Fee
        FeePayer
        Result{
          Success
        }
      }
      Trade {
        Market {
          MarketAddress
        }
        Dex {
          ProgramAddress
          ProtocolName
          ProtocolFamily
        }
        AmountInUSD
        PriceInUSD
        Amount
        Currency {
          Name
        }
        Side {
          Type
          Currency {
            Symbol
            MintAddress
            Name
          }
          AmountInUSD
          Amount
        }
      }
    }
  }
}

Similar queries