dex_trades_by_tokens_tx

Returns DEX trades by token on Base, where transaction hash is 0xeef4…eaef and DEX protocol name is zora_v4, sorted by block time: block time, block number, transaction index, log index, trade amount, price in USD, buyer and 18 more fields.

By alex · saved 17 March 2026 · run 9 times · Bitquery API v2

What it returns

Filters

The query

{
  buybot_base: EVM(network: base) {
    DEXTradeByTokens(
      orderBy: {ascending: Block_Time}
      where: {TransactionStatus: {Success: true}, 
        Trade: {Currency: {SmartContract: {}}, 
          Dex: {ProtocolName: {is: "zora_v4"}}}, 
        Transaction: {Hash: {is: "0xeef4db5761905fb63e159abdac174d106671bd6cc2ba733345458ff8e6efeaef"}}}
    ) {
      Block {
        Time
        Number
      }
      Transaction{
        Index
      }
      Log{
        Index
      }
      Trade {
        Amount
        PriceInUSD
        Buyer
        Seller
        Currency {
          Symbol
          SmartContract
          Name
        }
        Dex {
          ProtocolName
          SmartContract
        }
        Side {
          Amount
          AmountInUSD
          Currency {
            Symbol
            SmartContract
          }
          Buyer
          Seller
          Type
        }
        Buyer
        Seller
        AmountInUSD
      }
      Transaction {
        Maker: From
        Hash
        Type
        To
      }
      TransactionStatus {
        Success
      }
    }
  }
}

Similar queries