Skip to main content

GrpcCheckpointResponse

Namespace: IotaSdk

Response for a checkpoint query.

Which fields are populated depends on the read mask used for the query; the default read mask only includes the checkpoint summary, and every other field is None.

The summary, signature, contents and events fields are deserialized from BCS, so the read mask must include CheckpointSummaryBcs, CheckpointSignature, CheckpointContentsBcs and EventsBcs respectively for them to be populated; digest-only read masks populate only the digest fields.

public record class GrpcCheckpointResponse : System.IDisposable, System.IEquatable`1[[IotaSdk.GrpcCheckpointResponse, IotaSdk, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]

Inheritance Object → GrpcCheckpointResponse
Implements IDisposable, IEquatable<GrpcCheckpointResponse>
Attributes NullableContextAttribute, NullableAttribute

Properties​

SequenceNumber​

The checkpoint sequence number. Always available regardless of the read mask.

public ulong SequenceNumber { get; init; }

Property Value​

UInt64

SummaryDigest​

The digest of the checkpoint summary.

public CheckpointDigest? SummaryDigest { get; init; }

Property Value​

CheckpointDigest

Summary​

The checkpoint summary.

public CheckpointSummary? Summary { get; init; }

Property Value​

CheckpointSummary

Signature​

The aggregated validator signature of the checkpoint.

public ValidatorAggregatedSignature? Signature { get; init; }

Property Value​

ValidatorAggregatedSignature

ContentsDigest​

The digest of the checkpoint contents.

public CheckpointContentsDigest? ContentsDigest { get; init; }

Property Value​

CheckpointContentsDigest

Contents​

The checkpoint contents.

public CheckpointContents? Contents { get; init; }

Property Value​

CheckpointContents

Transactions​

The transactions executed in the checkpoint. None unless the read mask requests Transactions or one of its sub-fields (e.g. TransactionsEffectsBcs); with a transactions filter that matches nothing, an empty list.

public GrpcExecutedTransaction[]? Transactions { get; init; }

Property Value​

GrpcExecutedTransaction[]

Events​

The events emitted in the checkpoint. None unless the read mask requests EventsBcs (or Events); a checkpoint with no events, or an events filter that matches nothing, yields an empty list.

public Event[]? Events { get; init; }

Property Value​

Event[]

Constructors​

GrpcCheckpointResponse(UInt64, CheckpointDigest, CheckpointSummary, ValidatorAggregatedSignature, CheckpointContentsDigest, CheckpointContents, GrpcExecutedTransaction[], Event[])​

Response for a checkpoint query.

Which fields are populated depends on the read mask used for the query; the default read mask only includes the checkpoint summary, and every other field is None.

The summary, signature, contents and events fields are deserialized from BCS, so the read mask must include CheckpointSummaryBcs, CheckpointSignature, CheckpointContentsBcs and EventsBcs respectively for them to be populated; digest-only read masks populate only the digest fields.

public GrpcCheckpointResponse(ulong SequenceNumber, CheckpointDigest? SummaryDigest, CheckpointSummary? Summary, ValidatorAggregatedSignature? Signature, CheckpointContentsDigest? ContentsDigest, CheckpointContents? Contents, GrpcExecutedTransaction[]? Transactions, Event[]? Events)

Parameters​

SequenceNumber UInt64
The checkpoint sequence number. Always available regardless of the read mask.

SummaryDigest CheckpointDigest?
The digest of the checkpoint summary.

Summary CheckpointSummary?
The checkpoint summary.

Signature ValidatorAggregatedSignature?
The aggregated validator signature of the checkpoint.

ContentsDigest CheckpointContentsDigest?
The digest of the checkpoint contents.

Contents CheckpointContents?
The checkpoint contents.

Transactions GrpcExecutedTransaction[]?
The transactions executed in the checkpoint. None unless the read mask requests Transactions or one of its sub-fields (e.g. TransactionsEffectsBcs); with a transactions filter that matches nothing, an empty list.

Events Event[]?
The events emitted in the checkpoint. None unless the read mask requests EventsBcs (or Events); a checkpoint with no events, or an events filter that matches nothing, yields an empty list.

Methods​

Dispose()​

public void Dispose()