Skip to main content

Checkpoint

Checkpoints contain finalized transactions and are used for node synchronization and global transaction ordering.

type Checkpoint {
contentBcs: Base64
contentDigest: String
digest: String
epoch: Epoch
networkTotalTransactions: UInt53
previousCheckpointDigest: String
query: Query
rollingGasSummary: GasCostSummary
sequenceNumber: UInt53!
summaryBcs: Base64
timestamp: DateTime
transactions(
first: Int
after: String
last: Int
before: String
filter: TransactionFilter
): TransactionConnection
validatorSignatures: ValidatorAggregatedSignature
}

Fields

Checkpoint.contentBcs ● Base64 scalar

The Base64 serialized BCS bytes of this checkpoint's contents.

Checkpoint.contentDigest ● String scalar

A 32-byte hash that uniquely identifies the checkpoint's content, encoded in Base58.

Checkpoint.digest ● String scalar

A 32-byte hash that uniquely identifies the checkpoint, encoded in Base58. This is a hash of the checkpoint's summary.

Checkpoint.epoch ● Epoch object

The epoch that this checkpoint is part of.

Checkpoint.networkTotalTransactions ● UInt53 scalar

The total number of transactions in the network by the end of this checkpoint.

Checkpoint.previousCheckpointDigest ● String scalar

The digest of the previous checkpoint's summary.

Checkpoint.query ● Query object

Query the RPC as if this checkpoint were the latest checkpoint.

Checkpoint.rollingGasSummary ● GasCostSummary object

The computation cost, storage cost, storage rebate, and non-refundable storage fee accumulated during this epoch, up to and including this checkpoint. These values increase monotonically across checkpoints in the same epoch, and reset on epoch boundaries.

Checkpoint.sequenceNumber ● UInt53! non-null scalar

The checkpoint's position in the total order of finalized checkpoints, agreed upon by consensus.

Checkpoint.summaryBcs ● Base64 scalar

The Base64 serialized BCS bytes of this checkpoint's summary.

Checkpoint.timestamp ● DateTime scalar

The timestamp at which the checkpoint is agreed to have happened according to consensus. Transactions that access time in this checkpoint will observe this timestamp.

Checkpoint.transactions ● TransactionConnection object

Checkpoint.transactions.first ● Int scalar
Checkpoint.transactions.after ● String scalar
Checkpoint.transactions.last ● Int scalar
Checkpoint.transactions.before ● String scalar
Checkpoint.transactions.filter ● TransactionFilter input

Checkpoint.validatorSignatures ● ValidatorAggregatedSignature object

The aggregation of signatures from a quorum of validators for the checkpoint proposal.

Returned By

checkpoint query ● multiGetCheckpoints query

Member Of

CheckpointConnection object ● CheckpointEdge object ● TransactionEffects object