Versions in this module Expand all Collapse all v1 v1.0.0 Jul 16, 2024 Changes in this version + const ExecutionAddressLength + const FeeRecipientLength + type BeaconBlock struct + Body *BeaconBlockBody + ParentRoot phase0.Root + ProposerIndex phase0.ValidatorIndex + Slot phase0.Slot + StateRoot phase0.Root + func (b *BeaconBlock) GetTree() (*ssz.Node, error) + func (b *BeaconBlock) HashTreeRoot() ([32]byte, error) + func (b *BeaconBlock) HashTreeRootWith(hh ssz.HashWalker) (err error) + func (b *BeaconBlock) MarshalJSON() ([]byte, error) + func (b *BeaconBlock) MarshalSSZ() ([]byte, error) + func (b *BeaconBlock) MarshalSSZTo(buf []byte) (dst []byte, err error) + func (b *BeaconBlock) MarshalYAML() ([]byte, error) + func (b *BeaconBlock) SizeSSZ() (size int) + func (b *BeaconBlock) String() string + func (b *BeaconBlock) UnmarshalJSON(input []byte) error + func (b *BeaconBlock) UnmarshalSSZ(buf []byte) error + func (b *BeaconBlock) UnmarshalYAML(input []byte) error + type BeaconBlockBody struct + Attestations []*phase0.Attestation + AttesterSlashings []*phase0.AttesterSlashing + Deposits []*phase0.Deposit + ETH1Data *phase0.ETH1Data + ExecutionPayload *ExecutionPayload + Graffiti [32]byte + ProposerSlashings []*phase0.ProposerSlashing + RANDAOReveal phase0.BLSSignature + SyncAggregate *altair.SyncAggregate + VoluntaryExits []*phase0.SignedVoluntaryExit + func (b *BeaconBlockBody) GetTree() (*ssz.Node, error) + func (b *BeaconBlockBody) HashTreeRoot() ([32]byte, error) + func (b *BeaconBlockBody) HashTreeRootWith(hh ssz.HashWalker) (err error) + func (b *BeaconBlockBody) MarshalJSON() ([]byte, error) + func (b *BeaconBlockBody) MarshalSSZ() ([]byte, error) + func (b *BeaconBlockBody) MarshalSSZTo(buf []byte) (dst []byte, err error) + func (b *BeaconBlockBody) MarshalYAML() ([]byte, error) + func (b *BeaconBlockBody) SizeSSZ() (size int) + func (b *BeaconBlockBody) String() string + func (b *BeaconBlockBody) UnmarshalJSON(input []byte) error + func (b *BeaconBlockBody) UnmarshalSSZ(buf []byte) error + func (b *BeaconBlockBody) UnmarshalYAML(input []byte) error + type BeaconState struct + Balances []phase0.Gwei + BlockRoots []phase0.Root + CurrentEpochParticipation []altair.ParticipationFlags + CurrentJustifiedCheckpoint *phase0.Checkpoint + CurrentSyncCommittee *altair.SyncCommittee + ETH1Data *phase0.ETH1Data + ETH1DataVotes []*phase0.ETH1Data + ETH1DepositIndex uint64 + FinalizedCheckpoint *phase0.Checkpoint + Fork *phase0.Fork + GenesisTime uint64 + GenesisValidatorsRoot phase0.Root + HistoricalRoots []phase0.Root + InactivityScores []uint64 + JustificationBits bitfield.Bitvector4 + LatestBlockHeader *phase0.BeaconBlockHeader + LatestExecutionPayloadHeader *ExecutionPayloadHeader + NextSyncCommittee *altair.SyncCommittee + PreviousEpochParticipation []altair.ParticipationFlags + PreviousJustifiedCheckpoint *phase0.Checkpoint + RANDAOMixes []phase0.Root + Slashings []phase0.Gwei + Slot phase0.Slot + StateRoots []phase0.Root + Validators []*phase0.Validator + func (b *BeaconState) GetTree() (*ssz.Node, error) + func (b *BeaconState) HashTreeRoot() ([32]byte, error) + func (b *BeaconState) HashTreeRootWith(hh ssz.HashWalker) (err error) + func (b *BeaconState) MarshalSSZ() ([]byte, error) + func (b *BeaconState) MarshalSSZTo(buf []byte) (dst []byte, err error) + func (b *BeaconState) SizeSSZ() (size int) + func (b *BeaconState) UnmarshalSSZ(buf []byte) error + func (s *BeaconState) MarshalJSON() ([]byte, error) + func (s *BeaconState) MarshalYAML() ([]byte, error) + func (s *BeaconState) String() string + func (s *BeaconState) UnmarshalJSON(input []byte) error + func (s *BeaconState) UnmarshalYAML(input []byte) error + type ExecutionAddress [20]byte + func (a *ExecutionAddress) UnmarshalJSON(input []byte) error + func (a *ExecutionAddress) UnmarshalYAML(input []byte) error + func (a ExecutionAddress) Format(state fmt.State, v rune) + func (a ExecutionAddress) MarshalJSON() ([]byte, error) + func (a ExecutionAddress) MarshalYAML() ([]byte, error) + func (a ExecutionAddress) String() string + type ExecutionPayload struct + BaseFeePerGas [32]byte + BlockHash phase0.Hash32 + BlockNumber uint64 + ExtraData []byte + FeeRecipient ExecutionAddress + GasLimit uint64 + GasUsed uint64 + LogsBloom [256]byte + ParentHash phase0.Hash32 + PrevRandao [32]byte + ReceiptsRoot [32]byte + StateRoot [32]byte + Timestamp uint64 + Transactions []Transaction + func (e *ExecutionPayload) GetTree() (*ssz.Node, error) + func (e *ExecutionPayload) HashTreeRoot() ([32]byte, error) + func (e *ExecutionPayload) HashTreeRootWith(hh ssz.HashWalker) (err error) + func (e *ExecutionPayload) MarshalJSON() ([]byte, error) + func (e *ExecutionPayload) MarshalSSZ() ([]byte, error) + func (e *ExecutionPayload) MarshalSSZTo(buf []byte) (dst []byte, err error) + func (e *ExecutionPayload) MarshalYAML() ([]byte, error) + func (e *ExecutionPayload) SizeSSZ() (size int) + func (e *ExecutionPayload) String() string + func (e *ExecutionPayload) UnmarshalJSON(input []byte) error + func (e *ExecutionPayload) UnmarshalSSZ(buf []byte) error + func (e *ExecutionPayload) UnmarshalYAML(input []byte) error + type ExecutionPayloadHeader struct + BaseFeePerGas [32]byte + BlockHash phase0.Hash32 + BlockNumber uint64 + ExtraData []byte + FeeRecipient ExecutionAddress + GasLimit uint64 + GasUsed uint64 + LogsBloom [256]byte + ParentHash phase0.Hash32 + PrevRandao [32]byte + ReceiptsRoot [32]byte + StateRoot [32]byte + Timestamp uint64 + TransactionsRoot phase0.Root + func (e *ExecutionPayloadHeader) GetTree() (*ssz.Node, error) + func (e *ExecutionPayloadHeader) HashTreeRoot() ([32]byte, error) + func (e *ExecutionPayloadHeader) HashTreeRootWith(hh ssz.HashWalker) (err error) + func (e *ExecutionPayloadHeader) MarshalJSON() ([]byte, error) + func (e *ExecutionPayloadHeader) MarshalSSZ() ([]byte, error) + func (e *ExecutionPayloadHeader) MarshalSSZTo(buf []byte) (dst []byte, err error) + func (e *ExecutionPayloadHeader) MarshalYAML() ([]byte, error) + func (e *ExecutionPayloadHeader) SizeSSZ() (size int) + func (e *ExecutionPayloadHeader) String() string + func (e *ExecutionPayloadHeader) UnmarshalJSON(input []byte) error + func (e *ExecutionPayloadHeader) UnmarshalSSZ(buf []byte) error + func (e *ExecutionPayloadHeader) UnmarshalYAML(input []byte) error + type SignedBeaconBlock struct + Message *BeaconBlock + Signature phase0.BLSSignature + func (s *SignedBeaconBlock) GetTree() (*ssz.Node, error) + func (s *SignedBeaconBlock) HashTreeRoot() ([32]byte, error) + func (s *SignedBeaconBlock) HashTreeRootWith(hh ssz.HashWalker) (err error) + func (s *SignedBeaconBlock) MarshalJSON() ([]byte, error) + func (s *SignedBeaconBlock) MarshalSSZ() ([]byte, error) + func (s *SignedBeaconBlock) MarshalSSZTo(buf []byte) (dst []byte, err error) + func (s *SignedBeaconBlock) MarshalYAML() ([]byte, error) + func (s *SignedBeaconBlock) SizeSSZ() (size int) + func (s *SignedBeaconBlock) String() string + func (s *SignedBeaconBlock) UnmarshalJSON(input []byte) error + func (s *SignedBeaconBlock) UnmarshalSSZ(buf []byte) error + func (s *SignedBeaconBlock) UnmarshalYAML(input []byte) error + type Transaction []byte + func (t *Transaction) UnmarshalYAML(input []byte) error + func (t Transaction) MarshalJSON() ([]byte, error) + func (t Transaction) MarshalYAML() ([]byte, error) + func (t Transaction) UnmarshalJSON(input []byte) error