⚡ We welcome businesses to test our enterprise-grade service

Method: POST openwallet

dropdown

方法 RPC openwallet 例如 NEO

POST openwallet

Method not allowed

打开指定的钱包文件。

为了安全起见,默认情况下,该方法将被禁用。 如果您确实需要使用此方法,则可以在RPCServer配置文件中手动启用此方法。

Parameters

path - 细绳

钱包文件路径

password - 细绳

在纯文本中。

Request

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


Response

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