Trades In Execution Order TradeIndex

Latest multi-leg Solana transactions from Trading.Trades with TradeIndex, the 0-based sequence of the trade inside its transaction, and TransactionHeader.Index, the position of the transaction in the block

By Divyasshree · saved 19 October 2026 · run 1 time · Bitquery API v2

What it returns

Filters

The query

query TradesInExecutionOrderTradeIndex {
  Trading {
    Trades(
      limit: {count: 30}
      orderBy: [{descending: Block_Time}, {ascending: TradeIndex}]
      where: {
        Block: {Time: {since_relative: {minutes_ago: 2}}}
        Pair: {Market: {Network: {is: "Solana"}}}
        TradeIndex: {ge: 1}
      }
    ) {
      Block {
        Time
      }
      TradeIndex
      TransactionHeader {
        Index
        Hash
      }
      Pair {
        Market {
          Name
        }
        Token {
          Symbol
        }
        QuoteToken {
          Symbol
        }
      }
      Side
      Price
      PriceInUsd
      Amounts {
        Base
        Quote
      }
    }
  }
}

Similar queries