Address-2

Returns the latest 10 transactions on Bitcoin, where input address is bc1q74…ufex, date since 2024-10-20 and date till 2024-12-20: timestamp time, block height, input count big int, output count big int, mined value, fee value and hash.

By Nitz · saved 23 December 2024 · Bitquery API v1

What it returns

Filters

The query

query MyQuery($network: BitcoinNetwork!, $address: String!, $limit: Int!, $offset: Int!, $from: ISO8601DateTime, $till: ISO8601DateTime) {
  bitcoin(network: $network) {
    transactions(
      options: {desc: "block.timestamp.time", limit: $limit, offset: $offset}
      date: {since: $from, till: $till}
      inputAddress: {is: $address}
    ) {
      block {
        timestamp {
          time(format: "%Y-%m-%d %H:%M:%S")
        }
        height
      }
      inputCountBigInt
      outputCountBigInt
      minedValue
      feeValue
      fee_value_usd: feeValue(in: USD)
      hash
    }
  }
}

Variables

{
  "limit": 10,
  "offset": 0,
  "network": "bitcoin",
  "address": "bc1q74tw5lznnparanwlje6dcudrnjr0ta6htzufex",
  "from": "2024-10-20",
  "till": "2024-12-20",
  "dateFormat": "%Y-%m-%d"
}

Similar queries