You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// Sends all the funds (or all the selected utxos). Requires only one recipient with value 0.
386
+
#[arg(long = "send_all", short = 'a')]
387
+
send_all:bool,
388
+
/// Enables Replace-By-Fee (BIP125).
389
+
#[arg(long = "enable_rbf", short = 'r', default_value_t = true)]
390
+
enable_rbf:bool,
391
+
/// Make a PSBT that can be signed by offline signers and hardware wallets. Forces the addition of `non_witness_utxo` and more details to let the signer identify the change output.
392
+
#[arg(long = "offline_signer")]
393
+
offline_signer:bool,
394
+
/// Selects which utxos *must* be spent.
395
+
#[arg(env = "MUST_SPEND_TXID:VOUT", long = "utxos", value_parser = parse_outpoint)]
396
+
utxos:Option<Vec<OutPoint>>,
397
+
/// Marks a utxo as unspendable.
398
+
#[arg(env = "CANT_SPEND_TXID:VOUT", long = "unspendable", value_parser = parse_outpoint)]
399
+
unspendable:Option<Vec<OutPoint>>,
400
+
/// Fee rate to use in sat/vbyte.
401
+
#[arg(env = "SATS_VBYTE", short = 'f', long = "fee_rate")]
402
+
fee_rate:Option<f32>,
403
+
/// Selects which policy should be used to satisfy the external descriptor.
404
+
#[arg(env = "EXT_POLICY", long = "external_policy")]
405
+
external_policy:Option<String>,
406
+
/// Selects which policy should be used to satisfy the internal descriptor.
407
+
#[arg(env = "INT_POLICY", long = "internal_policy")]
408
+
internal_policy:Option<String>,
409
+
/// Optionally create an OP_RETURN output containing given String in utf8 encoding (max 80 bytes)
410
+
#[arg(
411
+
env = "ADD_STRING",
412
+
long = "add_string",
413
+
short = 's',
414
+
conflicts_with = "add_data"
415
+
)]
416
+
add_string:Option<String>,
417
+
/// Optionally create an OP_RETURN output containing given base64 encoded String. (max 80 bytes)
418
+
#[arg(
419
+
env = "ADD_DATA",
420
+
long = "add_data",
421
+
short = 'o',
422
+
conflicts_with = "add_string"
423
+
)]
424
+
add_data:Option<String>,//base 64 econding
425
+
},
426
+
#[cfg(feature = "dns_payment")]
427
+
/// Creates a new unsigned transaction from DNS payment instructions.
428
+
CreateDnsTx{
429
+
/// Adds a recipient to the transaction.
383
430
#[arg(env = "ADDRESS:SAT", long = "to", value_parser = parse_recipient)]
0 commit comments