# Functions
ComputeWeakSubjectivityCheckpoint attempts to use the prysm weak_subjectivity api to obtain the current weak_subjectivity checkpoint.
DownloadFinalizedData downloads the most recently finalized state, and the block most recently applied to that state.
IdFromRoot encodes a block root in the format expected by the API in places where a root can be used to identify a BeaconState or SignedBeaconBlock.
IdFromSlot encodes a Slot in the format expected by the API in places where a slot can be used to identify a BeaconState or SignedBeaconBlock.
NewClient returns a new Client that includes functions for rest calls to Beacon API.
# Structs
Client provides a collection of helper methods for calling the Eth Beacon Node API endpoints.
OriginData represents the BeaconState and ReadOnlySignedBeaconBlock necessary to start an empty Beacon Node using Checkpoint Sync.
WeakSubjectivityData represents the state root, block root and epoch of the BeaconState + ReadOnlySignedBeaconBlock that falls at the beginning of the current weak subjectivity period.
# Type aliases
StateOrBlockId represents the block_id / state_id parameters that several of the Eth Beacon API methods accept.