Versions in this module Expand all Collapse all v0 v0.0.1 Oct 11, 2024 Changes in this version + const ClientCode + const ClientName + var ACCEPTED = "ACCEPTED" + var GenericServerError = &EngineAPIError + var INVALID = "INVALID" + var INVALID_TERMINAL_BLOCK = PayloadStatusV1 + var InvalidForkChoiceState = &EngineAPIError + var InvalidParams = &EngineAPIError + var InvalidPayloadAttributes = &EngineAPIError + var STATUS_INVALID = ForkChoiceResponse + var STATUS_SYNCING = ForkChoiceResponse + var SYNCING = "SYNCING" + var TooLargeRequest = &EngineAPIError + var UnknownPayload = &EngineAPIError + var UnsupportedFork = &EngineAPIError + var VALID = "VALID" + func ExecutableDataToBlock(data ExecutableData, versionedHashes []common.Hash, beaconRoot *common.Hash, ...) (*types.Block, error) + func ExecutableDataToBlockNoHash(data ExecutableData, versionedHashes []common.Hash, beaconRoot *common.Hash, ...) (*types.Block, error) + type BlobsBundleV1 struct + Blobs []hexutil.Bytes + Commitments []hexutil.Bytes + Proofs []hexutil.Bytes + type ClientVersionV1 struct + Code string + Commit string + Name string + Version string + func (v *ClientVersionV1) String() string + type EngineAPIError struct + func (e *EngineAPIError) Error() string + func (e *EngineAPIError) ErrorCode() int + func (e *EngineAPIError) ErrorData() interface{} + func (e *EngineAPIError) With(err error) *EngineAPIError + type ExecutableData struct + BaseFeePerGas *big.Int + BlobGasUsed *uint64 + BlockHash common.Hash + ExcessBlobGas *uint64 + ExecutionWitness *types.ExecutionWitness + ExtraData []byte + FeeRecipient common.Address + GasLimit uint64 + GasUsed uint64 + LogsBloom []byte + Number uint64 + ParentHash common.Hash + Random common.Hash + ReceiptsRoot common.Hash + StateRoot common.Hash + Timestamp uint64 + Transactions [][]byte + Withdrawals []*types.Withdrawal + func (e *ExecutableData) UnmarshalJSON(input []byte) error + func (e ExecutableData) MarshalJSON() ([]byte, error) + type ExecutionPayloadBody struct + TransactionData []hexutil.Bytes + Withdrawals []*types.Withdrawal + type ExecutionPayloadEnvelope struct + BlobsBundle *BlobsBundleV1 + BlockValue *big.Int + ExecutionPayload *ExecutableData + Override bool + Requests [][]byte + Witness *hexutil.Bytes + func BlockToExecutableData(block *types.Block, fees *big.Int, sidecars []*types.BlobTxSidecar) *ExecutionPayloadEnvelope + func (e *ExecutionPayloadEnvelope) UnmarshalJSON(input []byte) error + func (e ExecutionPayloadEnvelope) MarshalJSON() ([]byte, error) + type ForkChoiceResponse struct + PayloadID *PayloadID + PayloadStatus PayloadStatusV1 + type ForkchoiceStateV1 struct + FinalizedBlockHash common.Hash + HeadBlockHash common.Hash + SafeBlockHash common.Hash + type PayloadAttributes struct + BeaconRoot *common.Hash + Random common.Hash + SuggestedFeeRecipient common.Address + Timestamp uint64 + Withdrawals []*types.Withdrawal + func (p *PayloadAttributes) UnmarshalJSON(input []byte) error + func (p PayloadAttributes) MarshalJSON() ([]byte, error) + type PayloadID [8]byte + func (b *PayloadID) UnmarshalText(input []byte) error + func (b PayloadID) Is(versions ...PayloadVersion) bool + func (b PayloadID) MarshalText() ([]byte, error) + func (b PayloadID) String() string + func (b PayloadID) Version() PayloadVersion + type PayloadStatusV1 struct + LatestValidHash *common.Hash + Status string + ValidationError *string + Witness *hexutil.Bytes + type PayloadVersion byte + var PayloadV1 PayloadVersion = 0x1 + var PayloadV2 PayloadVersion = 0x2 + var PayloadV3 PayloadVersion = 0x3 + type StatelessPayloadStatusV1 struct + ReceiptsRoot common.Hash + StateRoot common.Hash + Status string + ValidationError *string + type TransitionConfigurationV1 struct + TerminalBlockHash common.Hash + TerminalBlockNumber hexutil.Uint64 + TerminalTotalDifficulty *hexutil.Big