• Create a parameter for a smart contract entrypoint from a hex string. Ensuring the parameter does not exceed the maximum number of bytes supported for a smart contract parameter.

    Throws

    If the provided parameter exceed the supported number of bytes for a smart contract.

    Returns

    Parameters

    • hex: string

      String with hex encoding of the parameter.

    Returns Parameter

Generated using TypeDoc