What is the last transaction of X address?

Returns one transaction on Ethereum, where date is 2023-04-20 and height is 17088215, sorted by index: index, sender address, annotation, hash and gas value.

By Oluwatomisin · saved 20 April 2023 · run 1 time · Bitquery API v1

What it returns

Filters

The query

query ($network: EthereumNetwork!, $limit: Int!, $offset: Int!, $date: ISO8601DateTime, $height: Int) {
  ethereum(network: $network) {
    transactions(
      options: {asc: "index", limit: $limit, offset: $offset}
      date: {is: $date}
      height: {is: $height}
    ) {
      index
      address: sender {
        address
        annotation
      }
      hash
      gasValue
      gas_value_usd: gasValue(in: USD)
    }
  }
}

Variables

{
  "limit": 1,
  "offset": 0,
  "height": 17088215,
  "date": "2023-04-20",
  "network": "ethereum"
}

Similar queries