From 87d3f033504190453ee7dec8d27bc20c81ca8a09 Mon Sep 17 00:00:00 2001 From: Ian Norden Date: Fri, 15 Nov 2019 15:39:56 -0600 Subject: [PATCH] add BaseFee field to RPCMarshalHeader --- internal/ethapi/api.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/ethapi/api.go b/internal/ethapi/api.go index fcb6e5e3e..52653f125 100644 --- a/internal/ethapi/api.go +++ b/internal/ethapi/api.go @@ -1127,6 +1127,7 @@ func RPCMarshalHeader(head *types.Header) map[string]interface{} { "timestamp": hexutil.Uint64(head.Time), "transactionsRoot": head.TxHash, "receiptsRoot": head.ReceiptHash, + "baseFee": (*hexutil.Big)(head.BaseFee), } }