2018-01-18 20:53:11 +01:00
'\" t
2019-02-23 06:00:04 +01:00
. \" Title: lightning-listsendpays
2018-01-18 20:53:11 +01:00
. \" Author: [see the "AUTHOR" section]
. \" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
2019-02-23 06:00:04 +01:00
. \" Date: 02/23/2019
2018-01-18 20:53:11 +01:00
. \" Manual: \ \&
. \" Source: \ \&
. \" Language: English
. \"
2019-02-23 06:00:04 +01:00
.TH "LIGHTNING\-LISTSENDP" "7" "02/23/2019" "\ \&" "\ \&"
2018-01-18 20:53:11 +01:00
. \" -----------------------------------------------------------------
. \" * Define some portability stuff
. \" -----------------------------------------------------------------
. \" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
. \" http://bugs.debian.org/507673
. \" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
. \" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n (.g .ds Aq \(aq
.el .ds Aq '
. \" -----------------------------------------------------------------
. \" * set default formatting
. \" -----------------------------------------------------------------
. \" disable hyphenation
.nh
. \" disable justification (adjust text to left margin only)
.ad l
. \" -----------------------------------------------------------------
. \" * MAIN CONTENT STARTS HERE *
. \" -----------------------------------------------------------------
.SH "NAME"
2019-02-23 06:00:04 +01:00
lightning-listsendpays \- Low\- level command for querying sendpay status
2018-01-18 20:53:11 +01:00
.SH "SYNOPSIS"
.sp
2019-02-23 06:00:04 +01:00
\fB listsendpays\fR [\fI bolt11\fR ] [\fI payment_hash\fR ]
2018-01-18 20:53:11 +01:00
.SH "DESCRIPTION"
.sp
2019-02-23 06:00:04 +01:00
The \fB listsendpays\fR RPC command gets the status of all \fI sendpay\fR commands (which is also used by the \fI pay\fR command), or with \fI bolt11\fR or \fI payment_hash\fR limits results to that specific payment\& . You cannot specify both\& .
2019-02-23 06:00:04 +01:00
.sp
Note that in future there may be more than one concurrent \fI sendpay\fR command per \fI pay\fR , so this command should be used with caution\& .
2018-01-18 20:53:11 +01:00
.SH "RETURN VALUE"
.sp
2019-02-23 06:00:04 +01:00
On success, an array of objects is returned\& . Each object contains:
.PP
\fI id\fR
.RS 4
unique internal value assigned at creation
.RE
.PP
\fI payment_hash\fR
.RS 4
the hash of the
\fI payment_preimage\fR
which will prove payment\& .
.RE
.PP
\fI destination\fR
.RS 4
the final destination of the payment\& .
.RE
.PP
\fI amount_msat\fR
.RS 4
the amount the destination received, in "NNNmsat" format\& .
.RE
.PP
\fI created_at\fR
.RS 4
the UNIX timestamp showing when this payment was initiated\& .
.RE
.PP
\fI status\fR
.RS 4
one of
\fI complete\fR ,
\fI failed\fR
or
\fI pending\fR \& .
.RE
.PP
\fI payment_preimage\fR
.RS 4
(if
\fI status\fR
is
\fI complete\fR ) proves payment was received\& .
.RE
.PP
\fI label\fR
.RS 4
optional
\fI label\fR , if provided to
\fI sendpay\fR \& .
.RE
.PP
\fI bolt11\fR
.RS 4
the
\fI bolt11\fR
argument given to
\fI pay\fR
(may be missing for pre\- 0\& .7 payments)\& .
.RE
2018-01-18 20:53:11 +01:00
.SH "AUTHOR"
.sp
Christian Decker <decker\& .christian@gmail\& .com> is mainly responsible\& .
.SH "SEE ALSO"
.sp
2019-02-23 06:00:04 +01:00
lightning\- listpays(7), lightning\- sendpay(7), lightning\- listinvoice(7)\& .
2018-01-18 20:53:11 +01:00
.SH "RESOURCES"
.sp
Main web site: https://github\& .com/ElementsProject/lightning