Creates a TokenAmount from a number, string, Big, or bigint.
The token amount.
If the value exceeds the maximum allowed or is negative.
The amount of tokens as a number, string, big or bigint.
Generated using TypeDoc
Creates a TokenAmount from a number, string, Big, or bigint.
Returns
The token amount.
Throws
If the value exceeds the maximum allowed or is negative.