We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 46f75dc commit caa4ffbCopy full SHA for caa4ffb
internal/ethapi/api.go
@@ -1325,23 +1325,18 @@ func RPCMarshalHeader(head *types.Header) map[string]interface{} {
1325
"transactionsRoot": head.TxHash,
1326
"receiptsRoot": head.ReceiptHash,
1327
}
1328
-
1329
if head.BaseFee != nil {
1330
result["baseFeePerGas"] = (*hexutil.Big)(head.BaseFee)
1331
1332
1333
if head.WithdrawalsHash != nil {
1334
result["withdrawalsRoot"] = head.WithdrawalsHash
1335
1336
1337
if head.BlobGasUsed != nil {
1338
result["blobGasUsed"] = hexutil.Uint64(*head.BlobGasUsed)
1339
1340
1341
if head.ExcessBlobGas != nil {
1342
result["excessBlobGas"] = hexutil.Uint64(*head.ExcessBlobGas)
1343
1344
1345
return result
1346
1347
0 commit comments