(WARNING: experimental-onion-messages only)
sendonionmessage first_id blinding hops
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, and tlv contains a hexidecimal TLV to include.
On success, an empty object is returned.
Rusty Russell <[email protected]> is mainly responsible.
lightning-fetchinvoice(7), lightning-offer(7).
Main web site: https://github.com/ElementsProject/lightning