transaction_detail

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

By Omkar Acharekar · saved 15 April 2023 · run 1 time · 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)
      gasCurrency {
        symbol
      }
      hash
    }
  }
}

Variables

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

Similar queries