getblockfilter

Back to blockchain

Summary

Retrieve a BIP 157 content filter for a particular block.

Description

Retrieve a BIP 157 content filter for a particular block.

Arguments

  • blockhash (STR_HEX, required): The hash of the block
  • filtertype (STR): The type name of the filter

Results

  • value (OBJ): No description.
  • filter (STR_HEX): the hex-encoded filter data
  • header (STR_HEX): the hex-encoded filter header

Examples

qbit-cli getblockfilter "00000000c937983704a73af28acdec37b049d214adbda81d7e2a3dd146f6ed09" "basic"
curl --user myusername --data-binary '{"jsonrpc": "2.0", "id": "curltest", "method": "getblockfilter", "params": ["00000000c937983704a73af28acdec37b049d214adbda81d7e2a3dd146f6ed09", "basic"]}' -H 'content-type: application/json' http://127.0.0.1:8352/