zen

Horizen (ZEN)

Method: POST backupwallet

dropdown
POST

backupwallet

Method not allowed

Safely copies current wallet file to destination, which can be a directory or a path with filename.

Parameters

destination - string, required

The destination directory or file

Request

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


Response

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