Find miners

Returns 10 inputs on Bitcoin, sorted by input index, highest first: input index, input address address, value, block height, iso8601, transaction hash and value decimal.

By Francesco Gasparetto · saved 10 November 2024 · Bitquery API v1

What it returns

The query

query ($network: BitcoinNetwork!, $offset: Int!, $from: ISO8601DateTime, $till: ISO8601DateTime) {
  bitcoin(network: $network) {
    inputs(
      date: {since: $from, till: $till}
      options: {asc: "transaction.hash", offset: $offset, desc: "inputIndex", limit: 10}
      inputAddress: {is: ""}
    ) {
      inputIndex
      address: inputAddress {
        address
      }
      value(in: USD)
      block {
        height
        timestamp {
          iso8601
        }
      }
      transaction {
        hash
      }
      valueDecimal
    }
    
  }
}

Variables

{
  
  "offset": 0,
  "network": "bitcoin",
  "from": "2024-11-03",
  "till": "2024-11-10T23:59:59",
 }

Similar queries