ETH trades with Bundles or Private

Returns 20 DEX trades on Ethereum: block time, block number, burnt, burnt in USD, effective gas price, effective gas price in USD, gas refund and 62 more fields.

By Divyasshree · saved 19 November 2025 · Bitquery API v2

What it returns

The query

{
  EVM(dataset: realtime, network: eth) {
    DEXTrades(limit: { count: 20 }) {
      Block {
        Time
        Number
      }
      Fee {
        Burnt
        BurntInUSD
        EffectiveGasPrice
        EffectiveGasPriceInUSD
        GasRefund
        MinerReward
        MinerRewardInUSD
        PriorityFeePerGas
        PriorityFeePerGasInUSD
        Savings
        SavingsInUSD
        SenderFee
        SenderFeeInUSD
      }
      Receipt {
        ContractAddress
        Status
      }
      TransactionStatus {
        Success
      }
      Log {
        Signature {
          Name
        }
        SmartContract
      }
      Call {
        From
        InternalCalls
        Signature {
          Name
          Signature
        }
        To
        Value
      }
      Transaction {
        Gas
        Cost
        CostInUSD
        GasFeeCap
        GasFeeCapInUSD
        GasPrice
        GasPriceInUSD
        GasTipCap
        GasTipCapInUSD
        Index
        Nonce
        Protected
        Time
        Type
        Value
        ValueInUSD
        Hash
        From
        To
      }
      Trade {
        Buy {
          Amount
          AmountInUSD
          Buyer
          Seller
          Currency {
            Decimals
            Name
            Symbol
            SmartContract
          }
          Price
          PriceInUSD
        }
        Sell {
          Amount
          AmountInUSD
          Buyer
          Seller
          Currency {
            Name
            Symbol
            SmartContract
          }
          Price
          PriceInUSD
        }
        Dex {
          ProtocolName
          SmartContract
          OwnerAddress
        }
      }
      joinTransactionBalances(
        Transaction_Hash: Transaction_Hash
        join: inner
      ) {
        TokenBalance {
          Address(
            selectWhere: {
              in: [
                "0xF2f5C73fa04406b1995e397B55c24aB1f3eA726C",
                "0xf573d99385c05c23b24ed33de616ad16a43a0919",
                "0x199D5ED7F45F4eE35960cF22EAde2076e95B253F",
                "0xaab27b150451726ec7738aa1d0a94505c8729bd1",
                "0x57865ba267d48671a41431f471933aec32a7c7d1"
              ]
            }
          )
          BalanceChangeReasonCode(selectWhere: { eq: 5 })
          Currency {
            Name
          }
          PostBalance
          PostBalanceInUSD
          PreBalance
        }
        Transaction {
          Hash
        }
      }
    }
  }
}

Similar queries