• Create a protocol level token ID from a string value.

    Returns

    A new token ID instance.

    Throws

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

    Parameters

    • value: string

      The string to create the token ID from.

    Returns TokenId

Generated using TypeDoc