smsgsend - Particl RPC

smsgsend "address_from" "address_to" "message" ( paid_msg days_retention testfee )
Send an encrypted message from "address_from" to "address_to".

Arguments:
1. "address_from"       (string, required) The address of the sender.
2. "address_to"         (string, required) The address of the recipient.
3. "message"            (string, required) The message.
4. paid_msg             (bool, optional, default=false) Send as paid message.
5. days_retention       (int, optional, default=1) Days paid message will be retained by network.
6. testfee              (bool, optional, default=false) Don't send the message, only estimate the fee.
7. fromfile             (bool, optional, default=false) Send file as message, path specified in "message".
8. decodehex            (bool, optional, default=false) Decode "message" from hex before sending.

Result:
{
  "result": "Sent"/"Not Sent"       (string) address of public key
  "msgid": "..."                    (string) if sent, a message identifier
  "txid": "..."                     (string) if paid_msg the txnid of the funding txn
  "fee": n                          (amount) if paid_msg the fee paid
}

Examples:
> particl-cli smsgsend "myaddress" "toaddress" "message"
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "smsgsend", "params": ["myaddress", "toaddress", "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