Skip to content

Commit e69b583

Browse files
committed
wallet: add drain_wallet_to to SendTransactionRequest
1 parent ef39dfd commit e69b583

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

proto/cusf/mainchain/v1/wallet.proto

+6
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,13 @@ message SendTransactionRequest {
197197
// message.
198198
optional cusf.common.v1.Hex op_return_message = 3;
199199

200+
// UTXOs that must be included in the transaction. Incompatible with
201+
// specifying a draining address.
200202
repeated RequiredUtxo required_utxos = 4;
203+
204+
// If set, the transaction will send all UTXOs in the wallet to this address.
205+
// Incompatible with specifying required UTXOs.
206+
optional string drain_wallet_to = 5;
201207
}
202208
message SendTransactionResponse {
203209
cusf.common.v1.ReverseHex txid = 1;

0 commit comments

Comments
 (0)