⚡ We welcome businesses to test our enterprise-grade service

dgb
DigiByte (DGB)

Method: POST getblockfilter

dropdown

方法 RPC getblockfilter 例如 DigiByte (DGB)

POST getblockfilter

为特定块检索BIP 157内容过滤器。

Parameters

blockhash - 字符串,需要

块哈希

filtertype - 字符串,可选,默认值=基本

0用于六角形编码的数据,1对于JSON对象,2对于带有事务数据的JSON对象

Request

curl --location --request POST 'https://dgb.getblock.io/mainnet/' \
--header 'x-api-key: YOUR-API-KEY' \
--header 'Content-Type: application/json' \
--data-raw '{"jsonrpc": "2.0",
"method": "getblockfilter",
"params": ["8aef53e812659444b72dfa021ccbfddfb795e04889788c8dee802113e186acf3", null],
"id": "getblock.io"}'


Response

{
    "error": null,
    "id": "getblock.io",
    "result": null
}