📝 Share Your Feedback on Twitter and Claim 1M Free GetBlock Requests

btg
Bitcoin Gold (BTG)

Method: POST importwallet

dropdown

方法 RPC importwallet 例如 Bitcoin Gold (BTG)

POST importwallet

Method not allowed

从钱包转储文件中导入密钥(请参阅Dumpwallet)。 需要一个新的钱包备份来包括导入键。

注意使用“ getwalletinfo”查询扫描进度。

Parameters

filename - 字符串,需要

钱包文件

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


Response

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