lnrpc: add field amt_paid_msat to Invoice
This commit is contained in:
3 files changed
+453
-404
No files matched your search
+11
-1
@@ -1946,7 +1946,17 @@
|
||||
"amt_paid": {
|
||||
"type": "string",
|
||||
"format": "int64",
|
||||
"description": "*\nThe amount that was accepted for this invoice. This will ONLY be set if\nthis invoice has been settled. We provide this field as if the invoice was\ncreated with a zero value, then we need to record what amount was\nultimately accepted. Additionally, it's possible that the sender paid MORE\nthat was specified in the original invoice. So we'll record that here as\nwell."
|
||||
"description": "/ Deprecated, use amt_paid_sat or amt_paid_msat."
|
||||
},
|
||||
"amt_paid_sat": {
|
||||
"type": "string",
|
||||
"format": "int64",
|
||||
"description": "*\nThe amount that was accepted for this invoice, in satoshis. This will ONLY\nbe set if this invoice has been settled. We provide this field as if the\ninvoice was created with a zero value, then we need to record what amount\nwas ultimately accepted. Additionally, it's possible that the sender paid\nMORE that was specified in the original invoice. So we'll record that here\nas well."
|
||||
},
|
||||
"amt_paid_msat": {
|
||||
"type": "string",
|
||||
"format": "int64",
|
||||
"description": "*\nThe amount that was accepted for this invoice, in millisatoshis. This will\nONLY be set if this invoice has been settled. We provide this field as if\nthe invoice was created with a zero value, then we need to record what\namount was ultimately accepted. Additionally, it's possible that the sender\npaid MORE that was specified in the original invoice. So we'll record that\nhere as well."
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user