deriverangekeys - Particl RPC

deriverangekeys start ( end "key/id" hardened save add_to_addressbook 256bithash )
Derive keys from the specified chain.
Wallet must be unlocked if save or hardened options are set.

Arguments:
1. start               (int, required) Start from key.
2. end                 (int, optional) Stop deriving after key, default set to derive one key.
3. "key/id"            (string, optional)  Account to derive from, default external chain of current account.
4. hardened            (bool, optional, default=false) Derive hardened keys.
5. save                (bool, optional, default=false) Save derived keys to the wallet.
6. add_to_addressbook  (bool, optional, default=false) Add derived keys to address book, only applies when saving keys.
7. 256bithash          (bool, optional, default=false) Display addresses from sha256 hash of public keys.

Result:
"addresses"            (json) Array of derived addresses

Examples:
> particl-cli deriverangekeys 0 1
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "deriverangekeys", "params": [0, 1] }' -H 'content-type: text/plain;' http://127.0.0.1:51935/


This is a website, created out of frustration with uncomplete and outdated Particl Core RPC documentation online.

Particl version: 0.16.0.1

Note that the RPC is from a regtest node (for completeness), so it includes some additional calls that a regular node doesn't have.


Anon






Mnemonic