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-03-15 09:48:30 +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
|
|
|
|
the lightning network. These are currently used by *offers* to request
|
|
|
|
and receive invoices.
|
|
|
|
|
|
|
|
*hops* is an array of json objects: *id* as a public key of the node,
|
2022-03-15 09:48:30 +01:00
|
|
|
and *tlv* contains a hexidecimal TLV to include.
|
2021-01-14 04:36:49 +01:00
|
|
|
|
|
|
|
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>
|
|
|
|
|
|
|
|
[bolt04]: https://github.com/lightningnetwork/lightning-rfc/blob/master/04-onion-routing.md
|
|
|
|
|
2022-09-05 23:45:06 +02:00
|
|
|
[comment]: # ( SHA256STAMP:8e7f2c4372f12ee7f79df114e9ac9539ad6b19821e6c808e47d1ba9f7981e8ea)
|