Skip to main content

Interface: CanAffordResult

Defined in: javascript/src/types.ts:299

Advisory affordability check — UI only, non-locking, may be stale (D4/H3).

Never used for admission control; that is exclusively the lease (reserve).

Properties

affordable

affordable: boolean

Defined in: javascript/src/types.ts:300


reason?

optional reason?: string | null

Defined in: javascript/src/types.ts:304


spendable

spendable: Decimal

Defined in: javascript/src/types.ts:302

Effective spending power including allowance: balance − reserved (+ allowance headroom).


worstCase

worstCase: Decimal

Defined in: javascript/src/types.ts:303