lnrpc: add new SendAll field to SendCoinsRequest
This commit is contained in:
3 files changed
+574
-544
No files matched your search
+558
-542
File diff suppressed because it is too large.
Load diff
@@ -837,6 +837,13 @@ message SendCoinsRequest {
|
|||||||
|
|
||||||
/// A manual fee rate set in sat/byte that should be used when crafting the transaction.
|
/// A manual fee rate set in sat/byte that should be used when crafting the transaction.
|
||||||
int64 sat_per_byte = 5;
|
int64 sat_per_byte = 5;
|
||||||
|
|
||||||
|
/**
|
||||||
|
If set, then the amount field will be ignored, and lnd will attempt to
|
||||||
|
send all the coins under control of the internal wallet to the specified
|
||||||
|
address.
|
||||||
|
*/
|
||||||
|
bool send_all = 6;
|
||||||
}
|
}
|
||||||
message SendCoinsResponse {
|
message SendCoinsResponse {
|
||||||
/// The transaction ID of the transaction
|
/// The transaction ID of the transaction
|
||||||
|
|||||||
@@ -1288,10 +1288,12 @@
|
|||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"chain": {
|
"chain": {
|
||||||
"type": "string"
|
"type": "string",
|
||||||
|
"title": "/ The blockchain the node is on (eg bitcoin, litecoin)"
|
||||||
},
|
},
|
||||||
"network": {
|
"network": {
|
||||||
"type": "string"
|
"type": "string",
|
||||||
|
"title": "/ The network the node is on (eg regtest, testnet, mainnet)"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -2782,6 +2784,11 @@
|
|||||||
"type": "string",
|
"type": "string",
|
||||||
"format": "int64",
|
"format": "int64",
|
||||||
"description": "/ A manual fee rate set in sat/byte that should be used when crafting the transaction."
|
"description": "/ A manual fee rate set in sat/byte that should be used when crafting the transaction."
|
||||||
|
},
|
||||||
|
"send_all": {
|
||||||
|
"type": "boolean",
|
||||||
|
"format": "boolean",
|
||||||
|
"description": "*\nIf set, then the amount field will be ignored, and lnd will attempt to\nsend all the coins under control of the internal wallet to the specified\naddress."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in new issue
Block a user