From 79debd756612e8f6578820686deecf2203284a35 Mon Sep 17 00:00:00 2001 From: Sahil Sojitra <88416181+Sahil-4555@users.noreply.github.com> Date: Fri, 13 Mar 2026 23:34:04 +0530 Subject: [PATCH] rpc: add blockAccessListHash to RPC block header response (#33994) Adds support for returning `blockAccessListHash` in the RPC block header response. This change includes `blockAccessListHash` in `RPCMarshalHeader` when `head.BlockAccessListHash` is not nil, aligning the RPC output with the Header struct which already contains this field. --- internal/ethapi/api.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/internal/ethapi/api.go b/internal/ethapi/api.go index 04444111e8..762020967e 100644 --- a/internal/ethapi/api.go +++ b/internal/ethapi/api.go @@ -969,6 +969,9 @@ func RPCMarshalHeader(head *types.Header) map[string]interface{} { if head.RequestsHash != nil { result["requestsHash"] = head.RequestsHash } + if head.BlockAccessListHash != nil { + result["blockAccessListHash"] = head.BlockAccessListHash + } if head.SlotNumber != nil { result["slotNumber"] = hexutil.Uint64(*head.SlotNumber) }