# Functions
BeaconBlockContainerToSignedBeaconBlock converts BeaconBlockContainer (API response) to a SignedBeaconBlock.
BeaconBlockIsNil checks if any composite field of input signed beacon block is nil.
BuildSignedBeaconBlock assembles a block.ReadOnlySignedBeaconBlock interface compatible struct from a given beacon block and the appropriate signature.
BuildSignedBeaconBlockFromExecutionPayload takes a signed, blinded beacon block and converts into a full, signed beacon block by specifying an execution payload.
IsEmptyExecutionData checks if an execution data is empty underneath.
MerkleProofKZGCommitment constructs a Merkle proof of inclusion of the KZG commitment of index `index` into the Beacon Block with the given `body`.
NewBeaconBlock creates a beacon block from a protobuf beacon block.
NewBeaconBlockBody creates a beacon block body from a protobuf beacon block body.
NewROBlob creates a new ROBlob by computing the HashTreeRoot of the header.
NewROBlobWithRoot creates a new ROBlob with a given root.
NewROBlock creates a ROBlock from a ReadOnlySignedBeaconBlock.
NewROBlockSlice is a helper method for converting a slice of the ReadOnlySignedBeaconBlock interface to a slice of ROBlock.
NewROBlockWithRoot creates an ROBlock embedding the given block with its root.
NewSignedBeaconBlock creates a signed beacon block from a protobuf signed beacon block.
NewVerifiedROBlob "upgrades" an ROBlob to a VerifiedROBlob.
NewWrappedExecutionData creates an appropriate execution payload wrapper based on the incoming type.
PayloadToHeader converts `payload` into execution payload header format.
PayloadToHeaderCapella converts `payload` into execution payload header format.
PayloadToHeaderDeneb converts `payload` into execution payload header format.
VerifyKZGInclusionProof verifies the Merkle proof in a Blob sidecar against the beacon block body root.
WrappedExecutionPayload is a constructor which wraps a protobuf execution payload into an interface.
WrappedExecutionPayloadCapella is a constructor which wraps a protobuf execution payload into an interface.
WrappedExecutionPayloadDeneb is a constructor which wraps a protobuf execution payload into an interface.
WrappedExecutionPayloadHeader is a constructor which wraps a protobuf execution header into an interface.
WrappedExecutionPayloadHeaderCapella is a constructor which wraps a protobuf execution header into an interface.
WrappedExecutionPayloadHeaderDeneb is a constructor which wraps a protobuf execution header into an interface.
# Variables
ErrNilBeaconBlock is returned when a nil beacon block is received.
ErrNilObject is returned in a constructor when the underlying object is nil.
ErrNilSignedBeaconBlock is returned when a nil signed beacon block is received.
ErrUnsupportedSignedBeaconBlock is returned when the struct type is not a supported signed beacon block type.
ErrUnsupportedVersion for beacon block methods.
# Structs
BeaconBlock is the main beacon block structure.
BeaconBlockBody is the main beacon block body structure.
BlockWithROBlobs is a wrapper that collects the block and blob values together.
GetPayloadResponse represents the result of unmarshaling an execution engine GetPayloadResponseV(1|2|3|4) value.
ROBlob represents a read-only blob sidecar with its block root.
ROBlock is a value that embeds a ReadOnlySignedBeaconBlock along with its block root ([32]byte).
SignedBeaconBlock is the main signed beacon block structure.
VerifiedROBlob represents an ROBlob that has undergone full verification (eg block sig, inclusion proof, commitment check).
# Type aliases
BlockWithROBlobsSlice gives convenient access to getting a slice of just the ROBlocks, and defines sorting helpers.
ROBlobSlice is a custom type for a []ROBlob, allowing methods to be defined that act on a slice of ROBlob.
ROBlockSlice implements sort.Interface so that slices of ROBlocks can be easily sorted.