Skip to content

@lelantos-org/sdk / wallet / WithheldValue

Interface: WithheldValue โ€‹

Defined in: @lelantos-org/sdk/dist/wallet/selection.d.ts:83

Value held back from a spend, by the rule that held it.

Plain bigint, not CircuitAmount: the branded type is a subtype of bigint, so a CircuitAmount | bigint union erases the brand and buys nothing.

Properties โ€‹

cooldown โ€‹

ts
cooldown: bigint;

Defined in: @lelantos-org/sdk/dist/wallet/selection.d.ts:89

Too recently seen to have cleared the spend cooldown.


dust โ€‹

ts
dust: bigint;

Defined in: @lelantos-org/sdk/dist/wallet/selection.d.ts:87

Below the dust threshold.


reserved โ€‹

ts
reserved: bigint;

Defined in: @lelantos-org/sdk/dist/wallet/selection.d.ts:85

Reserved by a submit whose outcome was never confirmed.


slots โ€‹

ts
slots: bigint;

Defined in: @lelantos-org/sdk/dist/wallet/selection.d.ts:97

Spendable, but beyond the circuit's input arity.

The odd one out: the other three need time, this one needs a consolidation. partitionSpendable cannot see it โ€” it depends on maxInputs โ€” so it stays 0n until spendableMax fills it in.

Lelantosno cookies ๐Ÿช ยท no tracking ๐Ÿ‘๏ธ ยท no accounts ๐Ÿ‘คwalletexplorer4536080GitHub