mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-18 05:12:45 +01:00
doc: Document the msatoshi
parameter for sendonion
This commit is contained in:
parent
311594b2cd
commit
14d08b75cd
6
doc/lightning-sendonion.7
generated
6
doc/lightning-sendonion.7
generated
@ -3,7 +3,7 @@
|
||||
lightning-sendonion - Send a payment with a custom onion packet
|
||||
.SH SYNOPSIS
|
||||
|
||||
\fBsendonion\fR \fIonion\fR \fIfirst_hop\fR \fIpayment_hash\fR [\fIlabel\fR] [\fIshared_secrets\fR] [\fIpartid\fR] [\fIbolt11\fR]
|
||||
\fBsendonion\fR \fIonion\fR \fIfirst_hop\fR \fIpayment_hash\fR [\fIlabel\fR] [\fIshared_secrets\fR] [\fIpartid\fR] [\fIbolt11\fR] [\fImsatoshi\fR]
|
||||
|
||||
.SH DESCRIPTION
|
||||
|
||||
@ -89,6 +89,10 @@ partial payments with the same \fIpayment_hash\fR\.
|
||||
The \fIbolt11\fR parameter, if provided, will be returned in
|
||||
\fIwaitsendpay\fR and \fIlistsendpays\fR results\.
|
||||
|
||||
|
||||
The \fImsatoshi\fR parameter is used to annotate the payment, and is returned by
|
||||
\fIwaitsendpay\fR and \fIlistsendpays\fR\.
|
||||
|
||||
.SH RETURN VALUE
|
||||
|
||||
On success, an object similar to the output of \fBsendpay\fR will be
|
||||
|
@ -4,7 +4,7 @@ lightning-sendonion -- Send a payment with a custom onion packet
|
||||
SYNOPSIS
|
||||
--------
|
||||
|
||||
**sendonion** *onion* *first_hop* *payment_hash* \[*label*\] \[*shared_secrets*\] \[*partid*\] \[*bolt11*\]
|
||||
**sendonion** *onion* *first_hop* *payment_hash* \[*label*\] \[*shared_secrets*\] \[*partid*\] \[*bolt11*\] \[*msatoshi*\]
|
||||
|
||||
DESCRIPTION
|
||||
-----------
|
||||
@ -78,6 +78,9 @@ partial payments with the same *payment_hash*.
|
||||
The *bolt11* parameter, if provided, will be returned in
|
||||
*waitsendpay* and *listsendpays* results.
|
||||
|
||||
The *msatoshi* parameter is used to annotate the payment, and is returned by
|
||||
*waitsendpay* and *listsendpays*.
|
||||
|
||||
RETURN VALUE
|
||||
------------
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user