walletrpc: add ListLeases
This commit is contained in:
1 parent
b8e54fffbf
commit
9398220568
10 files changed
+411
-123
No files matched your search
@@ -457,6 +457,29 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"/v2/wallet/utxos/leases": {
|
||||
"post": {
|
||||
"summary": "ListLeases lists all currently locked utxos.",
|
||||
"operationId": "ListLeases",
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "A successful response.",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/walletrpcListLeasesResponse"
|
||||
}
|
||||
},
|
||||
"default": {
|
||||
"description": "An unexpected error response",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/runtimeError"
|
||||
}
|
||||
}
|
||||
},
|
||||
"tags": [
|
||||
"WalletKit"
|
||||
]
|
||||
}
|
||||
},
|
||||
"/v2/wallet/utxos/release": {
|
||||
"post": {
|
||||
"summary": "ReleaseOutput unlocks an output, allowing it to be available for coin\nselection if it remains unspent. The ID should match the one used to\noriginally lock the output.",
|
||||
@@ -894,6 +917,18 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"walletrpcListLeasesResponse": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"locked_utxos": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/walletrpcUtxoLease"
|
||||
},
|
||||
"description": "The list of currently leased utxos."
|
||||
}
|
||||
}
|
||||
},
|
||||
"walletrpcListSweepsResponse": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
||||
Reference in new issue
Block a user