AVG & daily gas price in usd

Returns the latest 10 transactions on Base, where block date till 2024-10-18 and transaction gas price is above 0: gas price in USD, median of transaction gas price, chain ID and block date.

By App · saved 19 October 2024 · run 5 times · Bitquery API v2

What it returns

Filters

The query

{
  EVM(dataset: combined, network: base) {
    Transactions(
      where: {Block: {Date: {till: "2024-10-18"}}, Transaction: {GasPrice: {gt: "0"}}}
      limit: {count: 10}
      orderBy: {descending: Block_Date}
    ) {
      min: Transaction {
        GasPriceInUSD(minimum: Transaction_GasPrice)
      }
      max: Transaction {
        GasPriceInUSD(maximum: Transaction_GasPrice)
      }
      median(of: Transaction_GasPrice)
      ChainId
      Block {
        Date
      }
    }
  }
}

Similar queries