Skip to content

@swapped/connect-sdk / core / MaxAmountMode

Type Alias: MaxAmountMode

MaxAmountMode = "balance" | "spendable"

Defined in: src/types/amount-input.types.ts:26

Which ceiling blocks submit for dual-bound amount inputs.

  • balance — only above_balance blocks; above_spendable is a warning (submit auto-caps via fee-reserve adjustment).
  • spendable — both ceilings block (strict Max = spendable).