Query to transaction details for an address

Returns the latest 10 transactions on Ethereum, where tx sender is 0x4775…82aa: timestamp time, block height, success, to address, annotation, gas value, gas currency symbol and hash.

By Mann · saved 10 October 2021 · run 2 times · Bitquery API v1

What it returns

Filters

The query

query ($network: EthereumNetwork!, $address: String!, $limit: Int!, $offset: Int!, $from: ISO8601DateTime, $till: ISO8601DateTime) {
  ethereum(network: $network) {
    transactions(options: {desc: "block.timestamp.time", limit: $limit, offset: $offset}, date: {since: $from, till: $till}, txSender: {is: $address}) {
      block {
        timestamp {
          time(format: "%Y-%m-%d %H:%M:%S")
        }
        height
      }
      success
      address: to {
        address
        annotation
      }
      gasValue
      gasCurrency {
        symbol
      }
      hash
    }
  }
}

Variables

{"limit":10,"offset":0,"network":"ethereum","address":"0x477573f212a7bdd5f7c12889bd1ad0aa44fb82aa","from":null,"till":null,"dateFormat":"%Y-%m"}

Similar queries