Copy of rug

Streams 10 DEX trades by token and balance updates on Ethereum as they happen, sorted by trade side buyer: success, transaction, fee, access list, cost, from, gas price and transaction hash.

By CRQ · saved 21 January 2025 · Bitquery API v2

What it returns

The subscription

subscription MyQuery {
  EVM(aggregates: yes, dataset: realtime, network: eth, select_blocks: trunk) {
    DEXTradeByTokens(
      limit: {count: 10, offset: 10}
      limitBy: {by: Trade_Side_Buyer, count: 10, offset: 10}
      orderBy: {ascending: Trade_Side_Buyer}
    ) {
      TransactionStatus {
        Success(if: {TransactionStatus: {Success: true}})
      }
    }
    BalanceUpdates {
      Transaction
    }
    Transactions {
      Fee
      Transaction {
        AccessList
        Cost
        From(if: {})
        GasPrice
        Hash
      }
    }
  }
}

Similar queries