core-lightning/doc/lightning-sendonionmessage.7.md
Rusty Russell 508b8cb54a doc: fix sendonionmessage documentation.
It's a low-level interface now, expecting you to build your own TLVs.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Reported-by: @valentinewallace
2022-03-16 11:24:42 +10:30

1.1 KiB

lightning-sendonionmessage -- low-level command to send an onion message

SYNOPSIS

(WARNING: experimental-onion-messages only)

sendonionmessage first_id blinding hops

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, and tlv contains a hexidecimal TLV to include.

RETURN VALUE

On success, an empty object is returned.

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