eth_historical_v1

Returns the latest 10 transactions on Ethereum, where time since 2024-05-26 and time till 2024-06-24: timestamp time, block height, sender address, annotation, hash and gas value.

By George · saved 24 June 2024 · Bitquery API v1

What it returns

Filters

The query

query ($network: EthereumNetwork!, $limit: Int!, $offset: Int!, $from: ISO8601DateTime, $till: ISO8601DateTime) {
  ethereum(network: $network) {
    transactions(
      options: {desc: "block.height", limit: $limit, offset: $offset}
      time: {since: $from, till: $till}
    ) {
      block {
        timestamp {
          time(format: "%Y-%m-%d %H:%M:%S")
        }
        height
      }
      address: sender {
        address
        annotation
      }
      hash
      gasValue
      gas_value_usd: gasValue(in: USD)
    }
  }
}

Variables

{
  "limit": 10,
  "offset": 0,
  "network": "ethereum",
  "from": "2024-05-26",
  "till": "2024-06-24T23:59:59",
  "dateFormat": "%Y-%m-%d"
}

Similar queries