Versions in this module Expand all Collapse all v1 v1.16.39 Oct 29, 2025 Changes in this version + func BlockGasCost(b *ethtypes.Block) *big.Int + func SetHeaderExtra(h *ethtypes.Header, extra *HeaderExtra) + func WithHeaderExtra(h *ethtypes.Header, extra *HeaderExtra) *ethtypes.Header + type HeaderExtra struct + BlockGasCost *big.Int + func GetHeaderExtra(h *ethtypes.Header) *HeaderExtra + func (h *HeaderExtra) DecodeJSON(eth *ethtypes.Header, input []byte) error + func (h *HeaderExtra) DecodeRLP(eth *ethtypes.Header, stream *rlp.Stream) error + func (h *HeaderExtra) EncodeJSON(eth *ethtypes.Header) ([]byte, error) + func (h *HeaderExtra) EncodeRLP(eth *ethtypes.Header, writer io.Writer) error + func (h *HeaderExtra) PostCopy(dst *ethtypes.Header) + type HeaderSerializable struct + BaseFee *big.Int + BlobGasUsed *uint64 + BlockGasCost *big.Int + Bloom ethtypes.Bloom + Coinbase common.Address + Difficulty *big.Int + ExcessBlobGas *uint64 + Extra []byte + GasLimit uint64 + GasUsed uint64 + MixDigest common.Hash + Nonce ethtypes.BlockNonce + Number *big.Int + ParentBeaconRoot *common.Hash + ParentHash common.Hash + ReceiptHash common.Hash + Root common.Hash + Time uint64 + TxHash common.Hash + UncleHash common.Hash + func (h *HeaderSerializable) Hash() common.Hash + func (h *HeaderSerializable) UnmarshalJSON(input []byte) error + func (h HeaderSerializable) MarshalJSON() ([]byte, error) + func (obj *HeaderSerializable) EncodeRLP(_w io.Writer) error