Skip to content

@swapped/connect-sdk / core / CoinbaseAmountError

Type Alias: CoinbaseAmountError ​

CoinbaseAmountError = object

Defined in: src/types/coinbase.types.ts:15

Dual crypto/fiat amount validation failure for Coinbase amount hooks.

Both halves share the same AmountValidationError.code; the fiat half is derived from the crypto verdict so the two cannot disagree at boundaries.

Properties ​

crypto ​

crypto: AmountValidationError

Defined in: src/types/coinbase.types.ts:17

The failure phrased in token units.


fiat ​

fiat: AmountValidationError | null

Defined in: src/types/coinbase.types.ts:19

The same failure phrased in fiat; null when no exchange rate.