@lelantos-org/sdk / wallet / SpendableMax
Interface: SpendableMax โ
Defined in: @lelantos-org/sdk/dist/wallet/selection.d.ts:124
What one spend of an asset can reach, and what is holding the rest back.
Properties โ
max โ
ts
max: CircuitAmount;Defined in: @lelantos-org/sdk/dist/wallet/selection.d.ts:126
Largest amount a single spend can cover, after reserve.
withheld โ
ts
withheld: WithheldValue;Defined in: @lelantos-org/sdk/dist/wallet/selection.d.ts:135
Value the balance counts but this spend cannot reach, by cause.
slots is the one that surprises: even fully spendable notes are capped at the circuit's input arity, so a balance spread across more notes than maxInputs has a remainder no single spend can touch. It is not stuck โ consolidating merges it โ where the other three simply need time.