2021-01-14 04:36:49 +01:00
|
|
|
lightning-sendonionmessage -- low-level command to send an onion message
|
|
|
|
================================================================
|
|
|
|
|
|
|
|
SYNOPSIS
|
|
|
|
--------
|
|
|
|
|
|
|
|
**(WARNING: experimental-onion-messages only)**
|
|
|
|
|
2022-11-11 02:44:56 +01:00
|
|
|
**sendonionmessage** *first\_id* *blinding* *hops*
|
2021-01-14 04:36:49 +01:00
|
|
|
|
|
|
|
DESCRIPTION
|
|
|
|
-----------
|
|
|
|
|
|
|
|
The **sendonionmessage** RPC command can be used to send a message via
|
2024-02-02 05:50:25 +01:00
|
|
|
the lightning network. These are currently used by *offers* to request
|
2021-01-14 04:36:49 +01:00
|
|
|
and receive invoices.
|
|
|
|
|
|
|
|
RETURN VALUE
|
|
|
|
------------
|
|
|
|
|
2021-06-16 03:10:17 +02:00
|
|
|
[comment]: # (GENERATE-FROM-SCHEMA-START)
|
|
|
|
On success, an empty object is returned.
|
2021-09-03 12:07:59 +02:00
|
|
|
|
2021-06-16 03:10:17 +02:00
|
|
|
[comment]: # (GENERATE-FROM-SCHEMA-END)
|
2021-01-14 04:36:49 +01:00
|
|
|
|
|
|
|
AUTHOR
|
|
|
|
------
|
|
|
|
|
|
|
|
Rusty Russell <<rusty@rustcorp.com.au>> is mainly responsible.
|
|
|
|
|
|
|
|
SEE ALSO
|
|
|
|
--------
|
|
|
|
|
|
|
|
lightning-fetchinvoice(7), lightning-offer(7).
|
|
|
|
|
|
|
|
RESOURCES
|
|
|
|
---------
|
|
|
|
|
|
|
|
Main web site: <https://github.com/ElementsProject/lightning>
|
|
|
|
|
2022-09-29 05:49:03 +02:00
|
|
|
[bolt04]: https://github.com/lightning/bolts/blob/master/04-onion-routing.md
|
2021-01-14 04:36:49 +01:00
|
|
|
|
2024-01-25 01:28:53 +01:00
|
|
|
[comment]: # ( SHA256STAMP:3faddc7dd03a73725f4a3e7249c7a417a11c6ac31f8666a9df2a8e5ebcfe2875)
|