add BaseFee field to RPCMarshalHeader

This commit is contained in:
Ian Norden 2019-11-15 15:39:56 -06:00
parent f41318ddde
commit 87d3f03350

View File

@ -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),
}
}