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

grs
Groestlcoin (GRS)

Method: POST walletpassphrase

dropdown

方法 RPC walletpassphrase 例如 Groestlcoin (GRS)

POST walletpassphrase

Method not allowed

将钱包解密密钥存储在内存中“超时”几秒钟。

在执行与私钥相关的交易之前,这是需要的,例如发送比特币注意:\

发出WalletPassphrase命令,而钱包已经解锁后将设置一个新的解锁时间,以覆盖旧的时间。

Parameters

passphrase - 字符串,需要

钱包密码

timeout - 数字,需要

将解密密钥保持在几秒钟内的时间; 上限为100000000(〜3年)。

Request

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


Response

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