Skip to main content

Variable: BRIDGE\_AMOUNT\_PROBLEMS

GalaChain core SDK 1.0.0-rc.8


GalaChain core SDK 1.0.0-rc.8 / index / BRIDGE_AMOUNT_PROBLEMS

Variable: BRIDGE_AMOUNT_PROBLEMS

const BRIDGE_AMOUNT_PROBLEMS: readonly ["not_a_number", "not_positive", "too_many_decimals"]

Defined in: packages/gala-core-sdk/dist/index.d.ts:186

Why a bridge amount was refused (INVALID_BRIDGE_AMOUNT.params.reason):

  • not_a_number: not a finite decimal number;
  • not_positive: zero or negative (a bridge of nothing only wastes the fee);
  • too_many_decimals: more decimal places than the token has (it would be rounded).