• Converts JSON to a token amount.

    Returns

    The token ID.

    Throws

    If the value is longer than 255 utf-8 encoded bytes or contains invalid UTF-8.

    Parameters

    • json: string

      The JSON representation of the token ID.

    Returns TokenId

Generated using TypeDoc