Versions in this module Expand all Collapse all v1 v1.1.14 Oct 6, 2022 Changes in this version + var GenericServerError = rpc.CustomError + var INVALID = ForkChoiceResponse + var InvalidTB = rpc.CustomError + var SUCCESS = GenericStringResponse + var SYNCING = ForkChoiceResponse + var UnknownPayload = rpc.CustomError + var VALID = GenericStringResponse + func ExecutableDataToBlock(params ExecutableDataV1) (*types.Block, error) + type ConsensusValidatedParams struct + BlockHash common.Hash + Status string + 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 ExecutePayloadResponse struct + LatestValidHash common.Hash + Status string + type ForkChoiceResponse struct + PayloadID *PayloadID + Status string + type ForkchoiceStateV1 struct + FinalizedBlockHash common.Hash + HeadBlockHash common.Hash + SafeBlockHash common.Hash + type GenericResponse struct + Success bool + type GenericStringResponse struct + Status string + type NewBlockResponse struct + Valid bool + 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