2019-08-10 02:12:44 +02:00
|
|
|
.TH "LIGHTNING-LISTSENDPAYS" "7" "" "" "lightning-listsendpays"
|
|
|
|
.SH NAME
|
|
|
|
lightning-listsendpays - Low-level command for querying sendpay status
|
|
|
|
.SH SYNOPSIS
|
|
|
|
|
2019-02-23 06:00:04 +01:00
|
|
|
\fBlistsendpays\fR [\fIbolt11\fR] [\fIpayment_hash\fR]
|
2019-08-10 02:12:44 +02:00
|
|
|
|
|
|
|
.SH DESCRIPTION
|
|
|
|
|
|
|
|
The \fBlistsendpays\fR RPC command gets the status of all \fIsendpay\fR
|
|
|
|
commands (which is also used by the \fIpay\fR command), or with \fIbolt11\fR or
|
|
|
|
\fIpayment_hash\fR limits results to that specific payment\. You cannot
|
|
|
|
specify both\.
|
|
|
|
|
|
|
|
|
|
|
|
Note that in future there may be more than one concurrent \fIsendpay\fR
|
|
|
|
command per \fIpay\fR, so this command should be used with caution\.
|
|
|
|
|
|
|
|
.SH RETURN VALUE
|
|
|
|
|
|
|
|
On success, an array of objects is returned\. Each object contains:
|
|
|
|
|
|
|
|
|
|
|
|
\fIid\fR
|
2019-02-23 06:00:04 +01:00
|
|
|
unique internal value assigned at creation
|
2019-08-10 02:12:44 +02:00
|
|
|
|
|
|
|
|
|
|
|
\fIpayment_hash\fR
|
|
|
|
the hash of the \fIpayment_preimage\fR which will prove payment\.
|
|
|
|
|
|
|
|
|
|
|
|
\fIdestination\fR
|
|
|
|
the final destination of the payment\.
|
|
|
|
|
|
|
|
|
|
|
|
\fIamount_msat\fR
|
|
|
|
the amount the destination received, in "NNNmsat" format\.
|
|
|
|
|
|
|
|
|
|
|
|
\fIcreated_at\fR
|
|
|
|
the UNIX timestamp showing when this payment was initiated\.
|
|
|
|
|
|
|
|
|
|
|
|
\fIstatus\fR
|
|
|
|
one of \fIcomplete\fR, \fIfailed\fR or \fIpending\fR\.
|
|
|
|
|
|
|
|
|
|
|
|
\fIpayment_preimage\fR
|
|
|
|
(if \fIstatus\fR is \fIcomplete\fR) proves payment was received\.
|
|
|
|
|
|
|
|
|
|
|
|
\fIlabel\fR
|
|
|
|
optional \fIlabel\fR, if provided to \fIsendpay\fR\.
|
|
|
|
|
|
|
|
|
|
|
|
\fIbolt11\fR
|
|
|
|
the \fIbolt11\fR argument given to \fIpay\fR (may be missing for pre-0\.7
|
|
|
|
payments)\.
|
|
|
|
|
|
|
|
.SH AUTHOR
|
|
|
|
|
2019-08-31 14:30:56 +02:00
|
|
|
Christian Decker \fI<decker.christian@gmail.com\fR> is mainly
|
2019-08-10 02:12:44 +02:00
|
|
|
responsible\.
|
|
|
|
|
|
|
|
.SH SEE ALSO
|
|
|
|
|
|
|
|
\fBlightning-listpays\fR(7), \fBlightning-sendpay\fR(7), \fBlightning-listinvoice\fR(7)\.
|
|
|
|
|
|
|
|
.SH RESOURCES
|
|
|
|
|
2019-08-31 14:30:56 +02:00
|
|
|
Main web site: \fIhttps://github.com/ElementsProject/lightning\fR
|
2019-08-10 02:12:44 +02:00
|
|
|
|