get address transactions since certain block

Returns 10 transactions on Ethereum, where height is above 13446556: block height, unixtime, hash, sender address, to address, success, amount and gas value.

By Stanislas · saved 19 October 2021 · Bitquery API v1

What it returns

Filters

The query

query ($address: String!, $block: Int!) {
  ethereum(network: ethereum) {
    transactions(
      height: {gt: $block}
      options: {limit: 10, offset: 0}
      any: [{txSender: {is: $address}}, {txTo: {is: $address}}]
    ) {
      block {
        height
        timestamp {
          unixtime
        }
      }
      hash
      sender {
        address
      }
      to {
        address
      }
      success
      value: amount
      amount(in: USD)
      eth_fee: gasValue
      usd_fee: gasValue(in: USD)
    }
  }
}

Variables

{
  "address": "0x6fCa99C517137Deb0519C4E65dF81B98492BAd1c",
  "block": 13446556
}

Similar queries