save

From Talleo Wiki
Revision as of 14:30, 24 March 2020 by Mika (talk | contribs) (Add usage)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Input

Argument Mandatory Description Format
none

Output

Argument Description Format
none

Description

  • This method saves the current wallet container to disk using same filename as when loaded

Usage

Replace "your_password" in example with real value from wallet daemon. Password is specified on command-line of wallet daemon, it is not returned by any API method for security reasons.

cURL

  • curl -X POST http://127.0.0.1:33777/json_rpc -H 'Content-Type: application/json-rpc' -d '{"jsonrpc": "2.0", "method": "save", "password": "your_password", "params": {}, "id": "1"}'