admin swaps
This commit is contained in:
parent
e9a8865192
commit
0a385188ae
17 changed files with 560 additions and 188 deletions
|
|
@ -834,6 +834,11 @@ message TransactionSwapRequest {
|
|||
int64 transaction_amount_sats = 2;
|
||||
}
|
||||
|
||||
message TransactionSwapQuoteRequest {
|
||||
string address = 1;
|
||||
string swap_operation_id = 2;
|
||||
}
|
||||
|
||||
message TransactionSwapQuote {
|
||||
string swap_operation_id = 1;
|
||||
int64 invoice_amount_sats = 2;
|
||||
|
|
@ -844,6 +849,11 @@ message TransactionSwapQuote {
|
|||
int64 service_fee_sats = 7;
|
||||
}
|
||||
|
||||
message AdminSwapResponse {
|
||||
string tx_id = 1;
|
||||
int64 network_fee = 2;
|
||||
}
|
||||
|
||||
message SwapOperation {
|
||||
string swap_operation_id = 1;
|
||||
optional UserOperation operation_payment = 2;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue