Enum representing the types of errors that can occur with token amounts.

Enumeration Members

EXCEEDS_MAX_DECIMALS: "EXCEEDS_MAX_DECIMALS"

Error type indicating the token amount has more decimals than allowed.

EXCEEDS_MAX_VALUE: "EXCEEDS_MAX_VALUE"

Error type indicating the token amount exceeds the maximum allowed value.

FRACTIONAL_DECIMALS: "FRACTIONAL_DECIMALS"

Error type indicating the token decimals were specified as a fractional number.

NEGATIVE: "NEGATIVE"

Error type indicating the token amount is negative.

Generated using TypeDoc