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
intContractAddress
ContractAddressReceiveName
ReceiveNameParameter
Parameter
Properties
ContractAddress
public ContractAddress ContractAddress { get; init; }
Property Value
Parameter
public Parameter Parameter { get; init; }
Property Value
ReceiveName
public ReceiveName ReceiveName { get; init; }
Property Value
RejectReason
public int RejectReason { get; init; }
Property Value
Methods
GetDeserializeMessage(VersionedModuleSchema)
Deserialize message using a VersionedModuleSchema.
public Utf8Json GetDeserializeMessage(VersionedModuleSchema schema)
Parameters
schema
VersionedModuleSchemaVersioned module schema.
Returns
Exceptions
- SchemaJsonException
Thrown when message wasn't able to be deserialized using the schema.