@@ -655,6 +655,12 @@ type receiptResult struct {
655655 EffectiveGasPrice uint256.Int `json:"effectiveGasPrice"`
656656 Logs eth.Logs `json:"logs"`
657657 ContractAddress eth.Bytes `json:"contractAddress"`
658+ L1BaseFeeScalar * uint256.Int `json:"l1BaseFeeScalar,omitempty"`
659+ L1BlobBaseFee * uint256.Int `json:"l1BlobBaseFee,omitempty"`
660+ L1BlobBaseFeeScalar * uint256.Int `json:"l1BlobBaseFeeScalar,omitempty"`
661+ L1Fee * uint256.Int `json:"l1Fee,omitempty"`
662+ L1GasPrice * uint256.Int `json:"l1GasPrice,omitempty"`
663+ L1GasUsed * eth.Uint64 `json:"l1GasUsed,omitempty"`
658664}
659665
660666type receiptResp struct {
@@ -712,6 +718,12 @@ func (c *Client) receipts(ctx context.Context, url string, bm blockmap, start, l
712718 tx .Logs = make ([]eth.Log , len (resps [i ].Result [j ].Logs ))
713719 tx .ContractAddress .Write (resps [i ].Result [j ].ContractAddress )
714720 copy (tx .Logs , resps [i ].Result [j ].Logs )
721+ tx .L1BaseFeeScalar = resps [i ].Result [j ].L1BaseFeeScalar
722+ tx .L1BlobBaseFee = resps [i ].Result [j ].L1BlobBaseFee
723+ tx .L1BlobBaseFeeScalar = resps [i ].Result [j ].L1BlobBaseFeeScalar
724+ tx .L1Fee = resps [i ].Result [j ].L1Fee
725+ tx .L1GasPrice = resps [i ].Result [j ].L1GasPrice
726+ tx .L1GasUsed = resps [i ].Result [j ].L1GasUsed
715727 }
716728 }
717729 return nil
0 commit comments