Skip to content
docs

BtcMaxSpendableResult

Defined in: wallet-btc/src/types.ts:118

The most one transaction can send (a sweep of every UTXO), after the fee.

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: 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: bigint

Defined in: wallet-btc/src/types.ts:126


inputs: number

Defined in: wallet-btc/src/types.ts:125

Inputs the sweep would consume.