⚡ We welcome businesses to test our enterprise-grade service

btg
Bitcoin Gold (BTG)

Method: POST sethdseed

dropdown

方法 RPC sethdseed 例如 Bitcoin Gold (BTG)

POST sethdseed

Method not allowed

设置或生成新的高清钱包种子。 非HD钱包不会升级到成为HD钱包。 已经是HD的钱包将有一个新的HD种子套件,因此将添加到键盘上的新键将源自此新种子。

请注意,在设置高清钱包种子后,您需要对钱包进行新的备份。

如果将钱包加密,则需要用钱包通话来设置钱包串联。

Parameters

newkeypool - 布尔值,可选,默认值= true

是否要从键盘上冲洗旧未使用的地址,包括更改地址并再生它。

seed - 字符串,可选,默认=随机种子

WIF私钥用作新的高清种子。

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


Response

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