list admin swaps + payment state fixes
This commit is contained in:
parent
0a385188ae
commit
008d11d047
15 changed files with 192 additions and 36 deletions
|
|
@ -189,6 +189,13 @@ service LightningPub {
|
|||
option (nostr) = true;
|
||||
}
|
||||
|
||||
rpc ListAdminSwaps(structs.Empty) returns (structs.SwapsList) {
|
||||
option (auth_type) = "Admin";
|
||||
option (http_method) = "post";
|
||||
option (http_route) = "/api/admin/swap/list";
|
||||
option (nostr) = true;
|
||||
}
|
||||
|
||||
rpc GetUsageMetrics(structs.LatestUsageMetricReq) returns (structs.UsageMetrics) {
|
||||
option (auth_type) = "Metrics";
|
||||
option (http_method) = "post";
|
||||
|
|
|
|||
|
|
@ -490,6 +490,9 @@ message PaymentState{
|
|||
int64 amount = 2;
|
||||
int64 service_fee = 3;
|
||||
int64 network_fee = 4;
|
||||
bool internal = 5;
|
||||
string operation_id = 6;
|
||||
|
||||
}
|
||||
|
||||
message LnurlLinkResponse{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue