Versions in this module Expand all Collapse all v1 v1.0.0 Oct 23, 2022 Changes in this version + var ACCEPTED = "ACCEPTED" + var GenericServerError = &EngineAPIError + var INVALID = "INVALID" + var INVALIDBLOCKHASH = "INVALID_BLOCK_HASH" + var INVALID_TERMINAL_BLOCK = PayloadStatusV1 + var InvalidForkChoiceState = &EngineAPIError + var InvalidPayloadAttributes = &EngineAPIError + var STATUS_INVALID = ForkChoiceResponse + var STATUS_SYNCING = ForkChoiceResponse + var SYNCING = "SYNCING" + var UnknownPayload = &EngineAPIError + var VALID = "VALID" + func ExecutableDataToBlock(params ExecutableDataV1) (*types.Block, error) + 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 ExecutableDataV1 struct + BaseFeePerGas *big.Int + BlockHash common.Hash + 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 + func BlockToExecutableData(block *types.Block) *ExecutableDataV1 + func (e *ExecutableDataV1) UnmarshalJSON(input []byte) error + func (e ExecutableDataV1) MarshalJSON() ([]byte, error) + type ForkChoiceResponse struct + PayloadID *PayloadID + PayloadStatus PayloadStatusV1 + type ForkchoiceStateV1 struct + FinalizedBlockHash common.Hash + HeadBlockHash common.Hash + SafeBlockHash common.Hash + type PayloadAttributesV1 struct + Random common.Hash + SuggestedFeeRecipient common.Address + Timestamp uint64 + func (p *PayloadAttributesV1) UnmarshalJSON(input []byte) error + func (p PayloadAttributesV1) MarshalJSON() ([]byte, error) + type PayloadID [8]byte + func (b *PayloadID) UnmarshalText(input []byte) error + func (b PayloadID) MarshalText() ([]byte, error) + func (b PayloadID) String() string + type PayloadStatusV1 struct + LatestValidHash *common.Hash + Status string + ValidationError *string + type TransitionConfigurationV1 struct + TerminalBlockHash common.Hash + TerminalBlockNumber hexutil.Uint64 + TerminalTotalDifficulty *hexutil.Big