Script Type Filtering for P2PKH, SegWit, and P2SH

Returns 1000 outputs on Bitcoin, where output address is 1FeexV…b6uF and output script type is pubkeyhash, sorted by block height: block height, transaction hash, output index, value and output script type type.

By Divyasshree · saved 27 May 2026 · Bitquery API v1

What it returns

Filters

The query

{
  bitcoin(network: bitcoin) {
    outputs(
      outputAddress: {in: ["1FeexV6bAHb8ybZjqQMjJrcCrHGW9sb6uF"]}
      height: {gteq: 950718, lteq: 951218}
      outputScriptType: {is: "pubkeyhash"}
      options: {asc: "block.height", limit: 1000}
    ) {
      block { height }
      transaction { hash }
      outputIndex
      value
      outputScriptType { type }
    }
  }
}

Similar queries