⚡ We welcome businesses to test our enterprise-grade service

btg
Bitcoin Gold (BTG)

Method: POST importdescriptors

dropdown

方法 RPC importdescriptors 例如 Bitcoin Gold (BTG)

POST importdescriptors

Method not allowed

导入描述符。 这将触发基于所有进口描述符的最早时间戳的区块链。 需要一个新的钱包备份。

请注意,如果使用早期时间戳,此通话可能需要一个多小时才能完成; 在此期间,其他RPC呼叫可能会报告导入的密钥,地址或脚本存在,但仍缺少相关的交易。

Parameters

requests - json阵列,必需

要导入的数据

Request

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


Response

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