Wallet
newWallet
Adds a new key to the Wallet.
Params
- passphrase : String - Wallet Password
Result
- Returns a JSON Object with Wallet Address
Example
Request
curl -X POST --data '{"jsonrpc":"2.0","method":"newWallet","params":{"passphrase":"YourPassword"},"id":123456}' http://localhost:8121
Response
{"result":{"wallet":"HN51F32BB5917012F193D79EF313D84F3E4594F046A1D37E"},"id":"123456","jsonrpc":"2.0"}
activeWallet
Enable deactivation wallet.