GrpcCheckpointResponse
data class GrpcCheckpointResponse(var sequenceNumber: ULong, var summaryDigest: CheckpointDigest?, var summary: CheckpointSummary?, var signature: ValidatorAggregatedSignature?, var contentsDigest: CheckpointContentsDigest?, var contents: CheckpointContents?, var transactions: List<GrpcExecutedTransaction>?, var events: List<Event>?) : Disposable
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.
Constructors
| GrpcCheckpointResponse | constructor(sequenceNumber: ULong, summaryDigest: CheckpointDigest?, summary: CheckpointSummary?, signature: ValidatorAggregatedSignature?, contentsDigest: CheckpointContentsDigest?, contents: CheckpointContents?, transactions: List<GrpcExecutedTransaction>?, events: List<Event>?) |
Properties
| Name | Summary |
|---|---|
| contents | var contents: CheckpointContents? The checkpoint contents. |
| contentsDigest | var contentsDigest: CheckpointContentsDigest? The digest of the checkpoint contents. |
| events | var events: List<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. |
| sequenceNumber | var sequenceNumber: ULong The checkpoint sequence number. Always available regardless of the read mask. |
| signature | var signature: ValidatorAggregatedSignature? The aggregated validator signature of the checkpoint. |
| summary | var summary: CheckpointSummary? The checkpoint summary. |
| summaryDigest | var summaryDigest: CheckpointDigest? The digest of the checkpoint summary. |
| transactions | var transactions: List<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. |
Functions
| Name | Summary |
|---|---|
| destroy | open override fun destroy() |