BtcMaxSpendableResult
Defined in: wallet-btc/src/types.ts:118
The most one transaction can send (a sweep of every UTXO), after the fee.
Properties
Section titled “Properties”amount
Section titled “amount”amount:
bigint
Defined in: wallet-btc/src/types.ts:120
Max sats one transaction can send after the fee. 0n when nothing is spendable.
changeValue
Section titled “changeValue”changeValue:
bigint
Defined in: wallet-btc/src/types.ts:123
Always 0n: a sweep leaves no change.
fee:
bigint
Defined in: wallet-btc/src/types.ts:121
feeRate
Section titled “feeRate”feeRate:
bigint
Defined in: wallet-btc/src/types.ts:126
inputs
Section titled “inputs”inputs:
number
Defined in: wallet-btc/src/types.ts:125
Inputs the sweep would consume.