add time info to swaps

This commit is contained in:
boufni95 2026-02-17 18:12:33 +00:00
parent f4b302ed43
commit edbbbd4aec
12 changed files with 124 additions and 75 deletions

View file

@ -848,6 +848,8 @@ message InvoiceSwapQuote {
string service_url = 8;
int64 swap_fee_sats = 9;
string tx_id = 10;
int64 paid_at_unix = 11;
int64 expires_at_block_height = 12;
}
message InvoiceSwapQuoteList {
@ -855,16 +857,15 @@ message InvoiceSwapQuoteList {
}
message InvoiceSwapOperation {
string swap_operation_id = 1;
InvoiceSwapQuote quote = 1;
optional UserOperation operation_payment = 2;
optional string failure_reason = 3;
string invoice_paid = 4;
string tx_id = 5;
optional int64 completed_at_unix = 6;
}
message InvoiceSwapsList {
repeated InvoiceSwapOperation swaps = 1;
repeated InvoiceSwapQuote quotes = 2;
int64 current_block_height = 3;
}
message RefundAdminInvoiceSwapRequest {