getblockfilter

getblockfilter "blockhash" ( "filtertype" )

Obtain a BIP 157 content filter for a specific block.

Argument #1 – blockhash

Type: string, required

The hash of the block

Argument #2 – filtertype

Type: string, optional, default=basic

The type name of the filter

Result

{                      (json object)
  "filter" : "hex",    (string) the hex-encoded filter data
  "header" : "hex"     (string) the hex-encoded filter header
}

Examples

bitcoinevo-cli getblockfilter "0000000006967155a1b6404653c7e9c9084979bf939cd70c203fca8a72f84e8c" "basic"
curl --user myusername --data-binary '{"jsonrpc": "1.0", "id": "curltest", "method": "getblockfilter", "params": ["0000000006967155a1b6404653c7e9c9084979bf939cd70c203fca8a72f84e8c", "basic"]}' -H 'content-type: text/plain;' http://127.0.0.1:7332/