⚡ We welcome businesses to test our enterprise-grade service

ltc
Litecoin (LTC)

Method: POST walletpassphrase

dropdown

方法 RPC walletpassphrase 例如 Litecoin (LTC)

POST walletpassphrase

方法不允许

将钱包解密密钥存储在内存中超时秒。

Parameters

passphrase - 字符串,必填

钱包密码

timeout - 数字,必填

以秒为单位保留解密密钥的时间;上限为 100000000(~3 年)。

Request

curl --location --request POST 'https://ltc.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"
}