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
* creates a larger number of equally-sized outputs for improved transaction parallelization.
21
21
*/
22
22
exportconstFanoutUnspentsRequestBody={
23
-
/** The wallet passphrase to decrypt the user key */
23
+
/** Passphrase to decrypt the user key on the wallet */
24
24
walletPassphrase: optional(t.string),
25
-
/** The extended private key (alternative to walletPassphrase) */
25
+
/** Private key in string form, if walletPassphrase is not available */
26
26
xprv: optional(t.string),
27
-
/** The number of new unspents to create */
27
+
/** Number of new unspents to make */
28
28
numUnspentsToMake: optional(t.number),
29
-
/** Minimum value of unspents to use (in base units) */
29
+
/** Minimum value of unspents to use in base units (e.g. satoshis). For doge, only string is allowed. */
30
30
minValue: optional(t.union([t.number,t.string])),
31
-
/** Maximum value of unspents to use (in base units) */
31
+
/** Maximum value of unspents to use in base units (e.g. satoshis). For doge, only string is allowed. */
32
32
maxValue: optional(t.union([t.number,t.string])),
33
-
/** Minimum block height of unspents to use*/
33
+
/** Minimum height of unspents on the block chain to use*/
34
34
minHeight: optional(t.number),
35
-
/** Minimum number of confirmations needed for an unspent to be included (defaults to 1) */
35
+
/** Minimum confirmation threshold for external inputs */
36
36
minConfirms: optional(t.number),
37
-
/** If true, minConfirms also applies to change outputs */
37
+
/** Flag for enforcing minConfirms for change inputs */
38
38
enforceMinConfirmsForChange: optional(t.boolean),
39
-
/** Maximum number of inputs to use in the transaction */
39
+
/** Maximum number of unspents to use in the transaction. Mutually exclusive with unspents. */
40
40
maxNumInputsToUse: optional(t.number),
41
-
/** Array of specific unspent IDs to use */
41
+
/** Unspents to fan out in the transaction. Mutually exclusive with maxNumInputsToUse. */
42
42
unspents: optional(t.array(t.string)),
43
-
/** The desired fee rate for the transaction in satoshis/kB */
43
+
/**
44
+
* Custom fee rate (in base units) per kilobyte (or virtual kilobyte). For example, satoshis per kvByte
45
+
*
46
+
* If the feeRate is less than the minimum required network fee, then the minimum fee applies. For example, 1000 sat/kvByte, a flat 1000 microAlgos, or a flat 10 drops of xrp. For XRP, the actual fee is usually 4.5 times the open ledger fee.
47
+
*
48
+
* Note: The feeRate overrides the maxFeeRate and minFeeRate.
49
+
*/
44
50
feeRate: optional(t.number),
45
-
/** The maximum limit for a fee rate in satoshis/kB */
51
+
/**
52
+
* (BTC only) The maximum fee rate (in base units) per kilobyte (or virtual kilobyte). For example, satoshis per kvByte. The maxFeeRate limits the fee rate generated by both feeMultiplier and numBlocks.
53
+
*
54
+
* Note: The feeRate overrides the maxFeeRate.
55
+
*/
46
56
maxFeeRate: optional(t.number),
47
-
/** The maximum proportion of value you're willing to lose to fees (as a decimal, e.g., 0.1 for 10%) */
57
+
/** Maximum relative portion that can be spent towards fees */
48
58
maxFeePercentage: optional(t.number),
49
-
/** Estimate fees to aim for first confirmation within this number of blocks */
59
+
/** Block target for fee estimation */
50
60
feeTxConfirmTarget: optional(t.number),
51
61
/** Comment to attach to the transaction */
52
62
comment: optional(t.string),
53
63
/** One-time password for 2FA */
54
64
otp: optional(t.string),
55
-
/** Target address for the fanout outputs */
65
+
/** Address to use for generated outputs. Must be wallet address. */
56
66
targetAddress: optional(t.string),
57
-
/** Transaction format type (e.g., 'legacy', 'psbt', 'psbt-lite') - controls output format */
67
+
/** [UTXO only] Format of the returned transaction hex serialization. legacy for serialized transaction in custom bitcoinjs-lib format. psbt for BIP174 serialized transaction */
0 commit comments