Versions in this module Expand all Collapse all v1 v1.0.0 Jul 16, 2024 Changes in this version + var ErrDataMissing = errors.New("data missing") + var ErrUnsupportedVersion = errors.New("unsupported version") + type AggregateAttestationOpts struct + AttestationDataRoot phase0.Root + Common CommonOpts + Slot phase0.Slot + type AttestationDataOpts struct + CommitteeIndex phase0.CommitteeIndex + Common CommonOpts + Slot phase0.Slot + type AttestationPoolOpts struct + Common CommonOpts + Slot phase0.Slot + type AttesterDutiesOpts struct + Common CommonOpts + Epoch phase0.Epoch + Indices []phase0.ValidatorIndex + type BeaconBlockHeaderOpts struct + Block string + Common CommonOpts + type BeaconBlockRootOpts struct + Block string + Common CommonOpts + type BeaconCommitteesOpts struct + Common CommonOpts + Epoch *phase0.Epoch + State string + type BeaconStateOpts struct + Common CommonOpts + State string + type BeaconStateRandaoOpts struct + Common CommonOpts + State string + type BeaconStateRootOpts struct + Common CommonOpts + State string + type BlindedProposalOpts struct + Common CommonOpts + Graffiti [32]byte + RandaoReveal phase0.BLSSignature + SkipRandaoVerification bool + Slot phase0.Slot + type BlobSidecars struct + Sidecars []*deneb.BlobSidecar + func (b *BlobSidecars) UnmarshalSSZ(buf []byte) error + type BlobSidecarsOpts struct + Block string + Common CommonOpts + type CommonOpts struct + Timeout time.Duration + type DepositContractOpts struct + Common CommonOpts + type Error struct + Data []byte + Endpoint string + Method string + StatusCode int + func (e Error) Error() string + type FinalityOpts struct + Common CommonOpts + State string + type ForkChoiceOpts struct + Common CommonOpts + type ForkOpts struct + Common CommonOpts + State string + type ForkScheduleOpts struct + Common CommonOpts + type GenesisOpts struct + Common CommonOpts + type NodePeersOpts struct + Common CommonOpts + Direction []string + State []string + type NodeSyncingOpts struct + Common CommonOpts + type NodeVersionOpts struct + Common CommonOpts + type ProposalOpts struct + Common CommonOpts + Graffiti [32]byte + RandaoReveal phase0.BLSSignature + SkipRandaoVerification bool + Slot phase0.Slot + type ProposerDutiesOpts struct + Common CommonOpts + Epoch phase0.Epoch + Indices []phase0.ValidatorIndex + type Response struct + Data T + Metadata map[string]any + type SignedBeaconBlockOpts struct + Block string + Common CommonOpts + type SpecOpts struct + Common CommonOpts + type SyncCommitteeContributionOpts struct + BeaconBlockRoot phase0.Root + Common CommonOpts + Slot phase0.Slot + SubcommitteeIndex uint64 + type SyncCommitteeDutiesOpts struct + Common CommonOpts + Epoch phase0.Epoch + Indices []phase0.ValidatorIndex + type SyncCommitteeOpts struct + Common CommonOpts + Epoch *phase0.Epoch + State string + type ValidatorBalancesOpts struct + Common CommonOpts + Indices []phase0.ValidatorIndex + State string + type ValidatorsOpts struct + Common CommonOpts + Indices []phase0.ValidatorIndex + PubKeys []phase0.BLSPubKey + State string + type VersionedBlindedBeaconBlock struct + Bellatrix *apiv1bellatrix.BlindedBeaconBlock + Capella *apiv1capella.BlindedBeaconBlock + Deneb *apiv1deneb.BlindedBeaconBlock + Version spec.DataVersion + func (v *VersionedBlindedBeaconBlock) Attestations() ([]*phase0.Attestation, error) + func (v *VersionedBlindedBeaconBlock) BodyRoot() (phase0.Root, error) + func (v *VersionedBlindedBeaconBlock) FeeRecipient() (bellatrix.ExecutionAddress, error) + func (v *VersionedBlindedBeaconBlock) GetTree() (*ssz.Node, error) + func (v *VersionedBlindedBeaconBlock) Graffiti() ([32]byte, error) + func (v *VersionedBlindedBeaconBlock) HashTreeRoot() ([32]byte, error) + func (v *VersionedBlindedBeaconBlock) HashTreeRootWith(hh ssz.HashWalker) (err error) + func (v *VersionedBlindedBeaconBlock) IsEmpty() bool + func (v *VersionedBlindedBeaconBlock) MarshalSSZ() ([]byte, error) + func (v *VersionedBlindedBeaconBlock) MarshalSSZTo(buf []byte) (dst []byte, err error) + func (v *VersionedBlindedBeaconBlock) ParentRoot() (phase0.Root, error) + func (v *VersionedBlindedBeaconBlock) ProposerIndex() (phase0.ValidatorIndex, error) + func (v *VersionedBlindedBeaconBlock) RandaoReveal() (phase0.BLSSignature, error) + func (v *VersionedBlindedBeaconBlock) Root() (phase0.Root, error) + func (v *VersionedBlindedBeaconBlock) SizeSSZ() (size int) + func (v *VersionedBlindedBeaconBlock) Slot() (phase0.Slot, error) + func (v *VersionedBlindedBeaconBlock) StateRoot() (phase0.Root, error) + func (v *VersionedBlindedBeaconBlock) String() string + func (v *VersionedBlindedBeaconBlock) Timestamp() (uint64, error) + func (v *VersionedBlindedBeaconBlock) TransactionsRoot() (phase0.Root, error) + func (v *VersionedBlindedBeaconBlock) UnmarshalSSZ(buf []byte) error + type VersionedBlindedProposal struct + Bellatrix *apiv1bellatrix.BlindedBeaconBlock + Capella *apiv1capella.BlindedBeaconBlock + Deneb *apiv1deneb.BlindedBeaconBlock + Version spec.DataVersion + func (v *VersionedBlindedProposal) Attestations() ([]*phase0.Attestation, error) + func (v *VersionedBlindedProposal) BodyRoot() (phase0.Root, error) + func (v *VersionedBlindedProposal) FeeRecipient() (bellatrix.ExecutionAddress, error) + func (v *VersionedBlindedProposal) Graffiti() ([32]byte, error) + func (v *VersionedBlindedProposal) IsEmpty() bool + func (v *VersionedBlindedProposal) ParentRoot() (phase0.Root, error) + func (v *VersionedBlindedProposal) ProposerIndex() (phase0.ValidatorIndex, error) + func (v *VersionedBlindedProposal) RandaoReveal() (phase0.BLSSignature, error) + func (v *VersionedBlindedProposal) Root() (phase0.Root, error) + func (v *VersionedBlindedProposal) Slot() (phase0.Slot, error) + func (v *VersionedBlindedProposal) StateRoot() (phase0.Root, error) + func (v *VersionedBlindedProposal) String() string + func (v *VersionedBlindedProposal) Timestamp() (uint64, error) + func (v *VersionedBlindedProposal) TransactionsRoot() (phase0.Root, error) + type VersionedBlockRequest struct + Bellatrix *bellatrix.SignedBeaconBlock + Capella *capella.SignedBeaconBlock + Deneb *deneb.SignedBeaconBlock + Version spec.DataVersion + func (v *VersionedBlockRequest) Attestations() ([]*phase0.Attestation, error) + func (v *VersionedBlockRequest) AttesterSlashings() ([]*phase0.AttesterSlashing, error) + func (v *VersionedBlockRequest) BodyRoot() (phase0.Root, error) + func (v *VersionedBlockRequest) ExecutionBlockHash() (phase0.Hash32, error) + func (v *VersionedBlockRequest) ParentRoot() (phase0.Root, error) + func (v *VersionedBlockRequest) ProposerSlashings() ([]*phase0.ProposerSlashing, error) + func (v *VersionedBlockRequest) Root() (phase0.Root, error) + func (v *VersionedBlockRequest) Slot() (phase0.Slot, error) + func (v *VersionedBlockRequest) StateRoot() (phase0.Root, error) + func (v *VersionedBlockRequest) String() string + func (v *VersionedBlockRequest) SyncAggregate() (*altair.SyncAggregate, error) + type VersionedProposal struct + Altair *altair.BeaconBlock + Bellatrix *bellatrix.BeaconBlock + Capella *capella.BeaconBlock + Deneb *apiv1deneb.BlockContents + Phase0 *phase0.BeaconBlock + Version spec.DataVersion + func (v *VersionedProposal) Attestations() ([]*phase0.Attestation, error) + func (v *VersionedProposal) Blobs() ([]deneb.Blob, error) + func (v *VersionedProposal) BodyRoot() (phase0.Root, error) + func (v *VersionedProposal) FeeRecipient() (bellatrix.ExecutionAddress, error) + func (v *VersionedProposal) Graffiti() ([32]byte, error) + func (v *VersionedProposal) IsEmpty() bool + func (v *VersionedProposal) KZGProofs() ([]deneb.KZGProof, error) + func (v *VersionedProposal) ParentRoot() (phase0.Root, error) + func (v *VersionedProposal) ProposerIndex() (phase0.ValidatorIndex, error) + func (v *VersionedProposal) RandaoReveal() (phase0.BLSSignature, error) + func (v *VersionedProposal) Root() (phase0.Root, error) + func (v *VersionedProposal) Slot() (phase0.Slot, error) + func (v *VersionedProposal) StateRoot() (phase0.Root, error) + func (v *VersionedProposal) String() string + func (v *VersionedProposal) Timestamp() (uint64, error) + func (v *VersionedProposal) Transactions() ([]bellatrix.Transaction, error) + type VersionedSignedBlindedBeaconBlock struct + Bellatrix *apiv1bellatrix.SignedBlindedBeaconBlock + Capella *apiv1capella.SignedBlindedBeaconBlock + Deneb *apiv1deneb.SignedBlindedBeaconBlock + Version spec.DataVersion + func (v *VersionedSignedBlindedBeaconBlock) Attestations() ([]*phase0.Attestation, error) + func (v *VersionedSignedBlindedBeaconBlock) AttesterSlashings() ([]*phase0.AttesterSlashing, error) + func (v *VersionedSignedBlindedBeaconBlock) BodyRoot() (phase0.Root, error) + func (v *VersionedSignedBlindedBeaconBlock) ExecutionBlockHash() (phase0.Hash32, error) + func (v *VersionedSignedBlindedBeaconBlock) ExecutionBlockNumber() (uint64, error) + func (v *VersionedSignedBlindedBeaconBlock) GetTree() (*ssz.Node, error) + func (v *VersionedSignedBlindedBeaconBlock) HashTreeRoot() ([32]byte, error) + func (v *VersionedSignedBlindedBeaconBlock) HashTreeRootWith(hh ssz.HashWalker) (err error) + func (v *VersionedSignedBlindedBeaconBlock) MarshalSSZ() ([]byte, error) + func (v *VersionedSignedBlindedBeaconBlock) MarshalSSZTo(buf []byte) (dst []byte, err error) + func (v *VersionedSignedBlindedBeaconBlock) ParentRoot() (phase0.Root, error) + func (v *VersionedSignedBlindedBeaconBlock) ProposerIndex() (phase0.ValidatorIndex, error) + func (v *VersionedSignedBlindedBeaconBlock) ProposerSlashings() ([]*phase0.ProposerSlashing, error) + func (v *VersionedSignedBlindedBeaconBlock) Root() (phase0.Root, error) + func (v *VersionedSignedBlindedBeaconBlock) Signature() (phase0.BLSSignature, error) + func (v *VersionedSignedBlindedBeaconBlock) SizeSSZ() (size int) + func (v *VersionedSignedBlindedBeaconBlock) Slot() (phase0.Slot, error) + func (v *VersionedSignedBlindedBeaconBlock) StateRoot() (phase0.Root, error) + func (v *VersionedSignedBlindedBeaconBlock) UnmarshalSSZ(buf []byte) error + type VersionedSignedBlindedProposal struct + Bellatrix *apiv1bellatrix.SignedBlindedBeaconBlock + Capella *apiv1capella.SignedBlindedBeaconBlock + Deneb *apiv1deneb.SignedBlindedBeaconBlock + Version spec.DataVersion + func (v *VersionedSignedBlindedProposal) Attestations() ([]*phase0.Attestation, error) + func (v *VersionedSignedBlindedProposal) AttesterSlashings() ([]*phase0.AttesterSlashing, error) + func (v *VersionedSignedBlindedProposal) BodyRoot() (phase0.Root, error) + func (v *VersionedSignedBlindedProposal) ExecutionBlockHash() (phase0.Hash32, error) + func (v *VersionedSignedBlindedProposal) ExecutionBlockNumber() (uint64, error) + func (v *VersionedSignedBlindedProposal) ParentRoot() (phase0.Root, error) + func (v *VersionedSignedBlindedProposal) ProposerIndex() (phase0.ValidatorIndex, error) + func (v *VersionedSignedBlindedProposal) ProposerSlashings() ([]*phase0.ProposerSlashing, error) + func (v *VersionedSignedBlindedProposal) Root() (phase0.Root, error) + func (v *VersionedSignedBlindedProposal) Signature() (phase0.BLSSignature, error) + func (v *VersionedSignedBlindedProposal) Slot() (phase0.Slot, error) + func (v *VersionedSignedBlindedProposal) StateRoot() (phase0.Root, error) + type VersionedSignedProposal struct + Altair *altair.SignedBeaconBlock + Bellatrix *bellatrix.SignedBeaconBlock + Capella *capella.SignedBeaconBlock + Deneb *apiv1deneb.SignedBlockContents + Phase0 *phase0.SignedBeaconBlock + Version spec.DataVersion + func (v *VersionedSignedProposal) ExecutionBlockHash() (phase0.Hash32, error) + func (v *VersionedSignedProposal) Slot() (phase0.Slot, error) + func (v *VersionedSignedProposal) String() string + type VersionedSignedValidatorRegistration struct + V1 *apiv1.SignedValidatorRegistration + Version spec.BuilderVersion + func (v *VersionedSignedValidatorRegistration) FeeRecipient() (bellatrix.ExecutionAddress, error) + func (v *VersionedSignedValidatorRegistration) GasLimit() (uint64, error) + func (v *VersionedSignedValidatorRegistration) GetTree() (*ssz.Node, error) + func (v *VersionedSignedValidatorRegistration) HashTreeRoot() ([32]byte, error) + func (v *VersionedSignedValidatorRegistration) HashTreeRootWith(hh ssz.HashWalker) (err error) + func (v *VersionedSignedValidatorRegistration) MarshalSSZ() ([]byte, error) + func (v *VersionedSignedValidatorRegistration) MarshalSSZTo(buf []byte) (dst []byte, err error) + func (v *VersionedSignedValidatorRegistration) PubKey() (phase0.BLSPubKey, error) + func (v *VersionedSignedValidatorRegistration) Root() (phase0.Root, error) + func (v *VersionedSignedValidatorRegistration) SizeSSZ() (size int) + func (v *VersionedSignedValidatorRegistration) Timestamp() (time.Time, error) + func (v *VersionedSignedValidatorRegistration) UnmarshalSSZ(buf []byte) error + type VersionedValidatorRegistration struct + V1 *apiv1.ValidatorRegistration + Version spec.BuilderVersion + func (v *VersionedValidatorRegistration) FeeRecipient() (bellatrix.ExecutionAddress, error) + func (v *VersionedValidatorRegistration) GasLimit() (uint64, error) + func (v *VersionedValidatorRegistration) IsEmpty() bool + func (v *VersionedValidatorRegistration) PubKey() (phase0.BLSPubKey, error) + func (v *VersionedValidatorRegistration) Root() (phase0.Root, error) + func (v *VersionedValidatorRegistration) Timestamp() (time.Time, error) + type VoluntaryExitPoolOpts struct + Common CommonOpts