ETH GetTx

get all ethereum transactions that contains specific wallet addess

Returns 5 transactions on Ethereum: hash, amount, gas value, unixtime, block height and count.

By PS · saved 19 October 2023 · run 2 times · Bitquery API v1

What it returns

The query

query {
  network: ethereum(network: ethereum){
    transactions(
      options: {limit: 5, offset: 0}
      height: {gteq: 16311095, lteq: 16311095}
      any: [
        {txSender: {is: "0x95222290DD7278Aa3Ddd389Cc1E1d165CC4BAfe5"}}, 
        {txTo: {is: "0x95222290DD7278Aa3Ddd389Cc1E1d165CC4BAfe5"}}]
    ) {
      hash
      amount
      feeValue: gasValue
      block {
        timestamp {
          unixtime
        } 
        height
      }
    }
    count: transactions(
      height: {gteq: 16311095, lteq: 16311095}
      any: [
        {txSender: {is: "0x95222290DD7278Aa3Ddd389Cc1E1d165CC4BAfe5"}}, 
        {txTo: {is: "0x95222290DD7278Aa3Ddd389Cc1E1d165CC4BAfe5"}}
      ]
    ) {
      result: count
    }
  }
}

Similar queries