Optimized Transaction Query

Returns the latest 10000 transactions on Ethereum, where tx sender is 0xEA67…8ec8 and tx to is 0xEA67…8ec8: block height, unixtime, hash, amount, currency name, currency symbol, gas value and 2 more fields.

By Sayon · saved 20 June 2022 · run 1 time · Bitquery API v1

What it returns

Filters

The query

{
  ethereum(network: ethereum) {
    transactions(
      options: {limit: 10000, desc: "block.height"}
      # options: {limit: 10000}
      txSender: {is: "0xEA674fdDe714fd979de3EdF0F56AA9716B898ec8"}
      txTo: {is: "0xEA674fdDe714fd979de3EdF0F56AA9716B898ec8"}
      # any: [{txTo: {is: "0xEA674fdDe714fd979de3EdF0F56AA9716B898ec8"}}, {txSender: {is: "0xEA674fdDe714fd979de3EdF0F56AA9716B898ec8"}}]
    ) {
      block {
        height
        timestamp {
          unixtime
        }
      }
      hash
      amount
      currency {
        name
        symbol
      }
      gasValue
      sender {
        address
      }
      to {
        address
      }
    }
  }
}

Similar queries