mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-31 08:02:25 +02:00
walletrpc: add ListLeases
This commit is contained in:
@@ -32,6 +32,11 @@ service WalletKit {
|
||||
*/
|
||||
rpc ReleaseOutput (ReleaseOutputRequest) returns (ReleaseOutputResponse);
|
||||
|
||||
/*
|
||||
ListLeases lists all currently locked utxos.
|
||||
*/
|
||||
rpc ListLeases (ListLeasesRequest) returns (ListLeasesResponse);
|
||||
|
||||
/*
|
||||
DeriveNextKey attempts to derive the *next* key within the key family
|
||||
(account in BIP43) specified. This method should return the next external
|
||||
@@ -603,3 +608,11 @@ message FinalizePsbtResponse {
|
||||
// The fully signed and finalized transaction in the raw wire format.
|
||||
bytes raw_final_tx = 2;
|
||||
}
|
||||
|
||||
message ListLeasesRequest {
|
||||
}
|
||||
|
||||
message ListLeasesResponse {
|
||||
// The list of currently leased utxos.
|
||||
repeated UtxoLease locked_utxos = 1;
|
||||
}
|
||||
|
Reference in New Issue
Block a user