Documentation exported from Bitcoin Core 0.19.0

getblockfilter (0.19.0 RPC)

blockchain

control

generating

mining

network

rawtransactions

util

wallet

zmq

getblockfilter "blockhash" ( "filtertype" )

Retrieve a BIP 157 content filter for a particular block.

Arguments:
1. blockhash     (string, required) The hash of the block
2. filtertype    (string, optional, default=basic) The type name of the filter

Result:
{
  "filter" : (string) the hex-encoded filter data
  "header" : (string) the hex-encoded filter header
}

Examples:
> bitcoin-cli getblockfilter "00000000c937983704a73af28acdec37b049d214adbda81d7e2a3dd146f6ed09" "basic"