base-data

arbitrum data

Returns DEX trades on Base, where transaction hash is 0xcb0b…0b90 and block date since 2024-07-01: block time, from, to, transaction hash, transaction value, buy amount, buy buyer and 16 more fields.

By linda · saved 1 July 2024 · run 12 times · Bitquery API v2

What it returns

Filters

The query

query MyQueryWithVariables($hash: [String!]) {
  EVM(dataset: combined, network: base) {
    buyside: DEXTrades(
      where: {Block: {Date: {since: "2024-07-01"}}, TransactionStatus: {Success: true}, Transaction: {Hash: {in: $hash}}}
    ) {
      Block {
        Time
      }
      Transaction {
        From
        To
        Hash
        Value
      }
      Trade {
        Buy {
          Amount
          Buyer
          Currency {
            Name
            Symbol
            SmartContract
            Decimals
          }
          Price
          Seller
        }
        Sell {
          Amount
          Buyer
          Currency {
            Name
            SmartContract
            Symbol
            Decimals
          }
          Seller
          Price
        }
        Sender
        Dex {
          ProtocolVersion
        }
      }
    }
  }
}

Variables

{
  "hash":["0xcb0bfa7aecd9d75a9b0a41a4eb0d81b8c2d184cb3dbd38471958a8e020170b90"]
}

Similar queries