neo

NEO (NEO)

Method: POST openwallet

dropdown
POST

openwallet

Method not allowed

Opens the specified wallet file.

To be on the safe side this method is disabled by default. If you do need to use this method you can manually enable this method in the RpcServer configuration file.

Parameters

path - string

The wallet file path

password - string

In plain text.

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"
}