Function deserializeTypeValue

  • Given a binary value for a smart contract type, and the raw schema for that type, deserialize the value into the JSON representation.

    Returns

    the deserialized value

    Parameters

    • value: ArrayBuffer

      the value that should be deserialized.

    • rawSchema: ArrayBuffer

      the schema for the type that the given value should be deserialized as

    • verboseErrorMessage: boolean = false

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

    Returns SmartContractTypeValues

Generated using TypeDoc