Function deserializeReceiveReturnValue

  • Deserializes a receive functions's return value from a sequence of bytes into a json object.

    Parameters

    • returnValueBytes: ArrayBuffer

      A buffer containing the return value as raw bytes.

    • moduleSchema: ArrayBuffer

      The raw module schema as a buffer.

    • contractName: ContractName

      The name of the contract where the receive function is located.

    • functionName: EntrypointName.Type<string>

      The name of the receive function which return value you want to deserialize.

    • Optional schemaVersion: number

      The schema version as a number. This parameter is optional, if you provide a serialized versioned schema this argument won't be needed.

    • verboseErrorMessage: boolean = false

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

    Returns any

Generated using TypeDoc