Function serializeInitContractParameters

  • Returns

    serialized buffer of init contract parameters

    Parameters

    • contractName: ContractName

      name of the contract that the init contract transaction will initialize

    • parameters: any

      the parameters to be serialized. Should correspond to the JSON representation.

    • rawSchema: ArrayBuffer

      buffer for the schema of a module that contains the contract

    • Optional schemaVersion: SchemaVersion

      the version of the schema provided

    • verboseErrorMessage: boolean = false

      Whether errors are in a verbose format or not. Defaults to false.

    Returns Parameter.Type

Generated using TypeDoc