• Converts JSON to a token amount.

    Returns

    The token amount.

    Throws

    If the value/decimals exceeds the maximum allowed or is negative.

    Parameters

    • json: JSON

      The JSON representation of the token amount.

    Returns TokenAmount

Generated using TypeDoc