Transactions filtered by height and index

Returns the latest 10 transactions on Ethereum, where time since 2024-01-12, time till 2024-01-12 and height is below 18991480: timestamp time, block height, sender address, annotation, hash, gas value and index.

By Divyasshree N · saved 12 January 2024 · run 1 time · 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}
      height: {lt: 18991480}
      txIndex: {is: 2}
    ) {
      block {
        timestamp {
          time(format: "%Y-%m-%d %H:%M:%S")
        }
        height
      }
      address: sender {
        address
        annotation
      }
      hash
      gasValue
      gas_value_usd: gasValue(in: USD)
      index
    }
  }
}

Variables

{
  "limit": 10,
  "offset": 0,
  "network": "ethereum",
  "from": "2024-01-12T14:17:00.000Z",
  "till": "2024-01-12T14:47:00.999Z",
  "dateFormat": "%Y-%m-%d"
}

Similar queries