looprpc: add quoted amount in InQuoteResponse

This commit is contained in:
Slyghtning 2025-10-07 10:57:14 +02:00
parent f05b0e630c
commit f840852e8d
No known key found for this signature in database
GPG key ID: F82D456EA023C9BF
3 changed files with 852 additions and 827 deletions

File diff suppressed because it is too large Load diff

View file

@ -881,6 +881,13 @@ message InQuoteResponse {
The confirmation target to be used to publish the on-chain HTLC.
*/
int32 conf_target = 6;
/*
If the quote request was for a static address loop in and only contained
deposit outpoints the quote response will return the total amount of the
selected deposits.
*/
int64 quoted_amt = 7;
}
message OutQuoteResponse {

View file

@ -1074,6 +1074,11 @@
"type": "integer",
"format": "int32",
"description": "The confirmation target to be used to publish the on-chain HTLC."
},
"quoted_amt": {
"type": "string",
"format": "int64",
"description": "If the quote request was for a static address loop in and only contained\ndeposit outpoints the quote response will return the total amount of the\nselected deposits."
}
}
},