devicesignmessage - Particl RPC

devicesignmessage "path" "message" ("accountpath")
Sign a message with the key at "path" on a hardware device.

Arguments:
1. "path"            (string, required) The path to the key to sign with.
                           The full path is "accountpath"/"path".
2. "message"         (string, required) The message to create a signature for.
3. "accountpath"     (string, optional) Account path, set to empty string to ignore (default="m/44h/1h/0h").

Result
"signature"          (string) The signature of the message encoded in base 64

Examples
Sign with the first key of external chain:
> particl-cli devicesignmessage "0/0" "my message"
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "devicesignmessage", "params": ["0/0", "my message"] }' -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