eth_transactions_xwallet

Returns the latest 10 transactions on Ethereum, where tx sender is 0x8991…4842, date since 2023-05-31 and date till 2023-06-07: timestamp time, block height, success, to address, annotation, gas value, gas price and 2 more fields.

By Oluwatomisin · saved 7 June 2023 · 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
      gas_value_usd: gasValue(in: USD)
      gasPrice
      gasCurrency {
        symbol
      }
      hash
    }
  }
}

Variables

{
  "limit": 10,
  "offset": 0,
  "network": "ethereum",
  "address": "0x8991f670ac0288cfa7370fc2a86c5f7fc3404842",
  "from": "2023-05-31",
  "till": "2023-06-07T23:59:59",
  "dateFormat": "%Y-%m-%d"
}

Similar queries