Skip to main content

Messages

CurrentOrHistoricalVersion

CurrentVersion

VersionContext

FieldTypeDescription
currentCurrentVersionRequest the latest version available at request time.
currentOrHistoricalCurrentOrHistoricalVersionRequest the latest version, or historical on.
slotuint64Request the version for a specific slot number.
timestampgoogle.protobuf.TimestampRequest the version nearest to the provided block timestamp.

Enums

ConsensusStatus

ConsensusStatus represents the minimum consensus level a resource has achieved when returned by the service.
ValueNumberDescription
CONSENSUS_STATUS_UNSPECIFIED0CONSENSUS_STATUS_UNSPECIFIED indicates the consensus status is unknown.
CONSENSUS_STATUS_OBSERVED1CONSENSUS_STATUS_OBSERVED indicates the resource has been observed but not yet confirmed in a finalized block.
CONSENSUS_STATUS_INCLUDED2CONSENSUS_STATUS_INCLUDED indicates the resource has been included in the ledger but may not be finalized.
CONSENSUS_STATUS_FINALIZED3CONSENSUS_STATUS_FINALIZED indicates the resource is finalized for a slot.
CONSENSUS_STATUS_LOCALLY_EXECUTED4CONSENSUS_STATUS_LOCALLY_EXECUTED indicates the local node executed the resource but broader cluster finality may not have been achieved.
CONSENSUS_STATUS_CLUSTER_EXECUTED5CONSENSUS_STATUS_CLUSTER_EXECUTED indicates the entire cluster has executed and agreed on the resource.