swap refunds
This commit is contained in:
parent
e71f631993
commit
3255730ae2
21 changed files with 554 additions and 33 deletions
|
|
@ -196,6 +196,13 @@ service LightningPub {
|
|||
option (nostr) = true;
|
||||
}
|
||||
|
||||
rpc RefundAdminInvoiceSwap(structs.RefundAdminInvoiceSwapRequest) returns (structs.AdminInvoiceSwapResponse) {
|
||||
option (auth_type) = "Admin";
|
||||
option (http_method) = "post";
|
||||
option (http_route) = "/api/admin/swap/invoice/refund";
|
||||
option (nostr) = true;
|
||||
}
|
||||
|
||||
rpc GetAdminTransactionSwapQuotes(structs.TransactionSwapRequest) returns (structs.TransactionSwapQuoteList) {
|
||||
option (auth_type) = "Admin";
|
||||
option (http_method) = "post";
|
||||
|
|
|
|||
|
|
@ -867,9 +867,15 @@ message InvoiceSwapsList {
|
|||
repeated InvoiceSwapQuote quotes = 2;
|
||||
}
|
||||
|
||||
message RefundAdminInvoiceSwapRequest {
|
||||
string swap_operation_id = 1;
|
||||
int64 sat_per_v_byte = 2;
|
||||
}
|
||||
|
||||
message PayAdminInvoiceSwapRequest {
|
||||
string swap_operation_id = 1;
|
||||
int64 sat_per_v_byte = 2;
|
||||
optional bool no_claim = 3;
|
||||
}
|
||||
|
||||
message AdminInvoiceSwapResponse {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue