klaytn_

Klay Input Transactions Query

Returns the latest 10000 transactions on Ethereum and klaytn, where tx to is 0xbe49…7f40 and date till 2024-01-09: timestamp time, block height, success, to address, annotation, gas value, gas currency symbol and 3 more fields.

By Omkar_BQ · saved 25 October 2024 · Bitquery API v1

What it returns

Filters

The query

query ($network: EthereumNetwork!, $address: String!, $limit: Int!, $offset: Int!, $till: ISO8601DateTime) {
  ethereum(network: $network) {
    transactions(
      options: {desc: "block.timestamp.time", limit: $limit, offset: $offset}
      date: {till: $till}
      txTo: {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
      amount
      txType
    }
  }
}

Variables

{
  "limit": 10000, 
  "offset": 0,
  "network": "klaytn",
  "address": "0xbe49bd130e126a917ddb5fabf7cdeb6dd9887f40",
  "till": "2024-01-09T23:59:59",
  "dateFormat": "%Y-%m-%d"
}

Similar queries