⚡ We welcome businesses to test our enterprise-grade service

dgb
DigiByte (DGB)

Method: POST generatetodescriptor

dropdown

方法 RPC generatetodescriptor 例如 DigiByte (DGB)

POST generatetodescriptor

Method not allowed

矿山立即将其阻止到指定的描述符(在RPC呼叫返回之前)

Parameters

num_blocks - 数字,需要

立即生成多少个块。

maxtries - 数字,可选,默认值= 1000000

尝试多少迭代。

descriptor - 字符串,需要

尝试多少迭代。

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": "generatetodescriptor",
"params": [null, null, null],
"id": "getblock.io"}'


Response

{
    "result": "null",
    "id": "getblock.io",
    "status_code": 405,
    "message": "Method not allowed"
}