smsg - Particl RPC

smsg "msgid" ( options )
View smsg by msgid.

Arguments:
1. "msgid"              (string, required) The id of the message to view.
2. options              (json, optional) Options object.
{
       "delete": bool                 (bool, optional) Delete msg if true.
       "setread": bool                (bool, optional) Set read status to value.
       "encoding": str                (string, optional, default="ascii") Display message data in encoding, values: "hex".
}

Result:
{
  "msgid": "..."                    (string) the message identifier
}

Examples:
> particl-cli smsg "msgid"
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "smsg", "params": ["msgid"] }' -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