channel rpc
This commit is contained in:
parent
11860d099f
commit
b5bd1a74d9
24 changed files with 35275 additions and 33084 deletions
|
|
@ -137,6 +137,13 @@ service LightningPub {
|
|||
option (nostr) = true;
|
||||
}
|
||||
|
||||
rpc ListChannels(structs.Empty) returns (structs.LndChannels) {
|
||||
option (auth_type) = "Admin";
|
||||
option (http_method) = "get";
|
||||
option (http_route) = "/api/admin/channels";
|
||||
option (nostr) = true;
|
||||
}
|
||||
|
||||
rpc GetUsageMetrics(structs.Empty) returns (structs.UsageMetrics) {
|
||||
option (auth_type) = "Metrics";
|
||||
option (http_method) = "post";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue