all zora trades for a specific wallet up till a block height

Returns 1000 DEX trades on Base, where DEX protocol name is zora_v4 and block number is at most 36453721, sorted by block time: block time, block number, burnt, burnt in USD, effective gas price, effective gas price in USD, gas refund and 56 more fields.

By Akshat · saved 18 May 2026 · run 2 times · Bitquery API v2

What it returns

Filters

The query

query($address:String){
  EVM(dataset: combined, network: base) {
    DEXTrades(
      limit: {count: 1000}
      orderBy: {ascending: Block_Time}
      where: {Block:{Number:{le:"36453721"}} any: [{Trade: {Buy: {Buyer: {is: $address}}}}, {Trade: {Buy: {Seller: {is: $address}}}}, {Transaction: {From: {is: "0x152a04d9fde2396c01c5f065a00bd5f6edf5c88d"}}}], Trade: {Dex: {ProtocolName: {is: "zora_v4"}}}}
    ) {
      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
        }
      }
    }
  }
}

Variables

{
  "address":"0xa9ce7310c6d68b0e08df6de6fc79fc572f882bb1"
}

Similar queries