Table of Contents

Class RejectedReceive

Namespace
Concordium.Sdk.Types
Assembly
Concordium.Sdk.dll

Rejected due to contract logic in receive function of a contract.

public sealed record RejectedReceive : IRejectReason, IEquatable<RejectedReceive>
Inheritance
RejectedReceive
Implements
Inherited Members

Constructors

RejectedReceive(int, ContractAddress, ReceiveName, Parameter)

Rejected due to contract logic in receive function of a contract.

public RejectedReceive(int RejectReason, ContractAddress ContractAddress, ReceiveName ReceiveName, Parameter Parameter)

Parameters

RejectReason int
ContractAddress ContractAddress
ReceiveName ReceiveName
Parameter Parameter

Properties

ContractAddress

public ContractAddress ContractAddress { get; init; }

Property Value

ContractAddress

Parameter

public Parameter Parameter { get; init; }

Property Value

Parameter

ReceiveName

public ReceiveName ReceiveName { get; init; }

Property Value

ReceiveName

RejectReason

public int RejectReason { get; init; }

Property Value

int

Methods

GetDeserializeMessage(VersionedModuleSchema)

Deserialize message using a VersionedModuleSchema.

public Utf8Json GetDeserializeMessage(VersionedModuleSchema schema)

Parameters

schema VersionedModuleSchema

Versioned module schema.

Returns

Utf8Json

Parameter deserialized as json uft8 encoded.

Exceptions

SchemaJsonException

Thrown when message wasn't able to be deserialized using the schema.