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

    Throws

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

    Returns

    Parameters

    • buffer: ArrayBuffer

      The buffer of bytes representing the parameter.

    Returns Parameter

Generated using TypeDoc