From 396424c79529ed0e1abe1ca7bafa5ee2b882e6bd Mon Sep 17 00:00:00 2001 From: lightclient Date: Thu, 7 Mar 2024 07:23:13 -0700 Subject: [PATCH] internal/ethapi: add doc for blob base fee method --- internal/ethapi/api.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/ethapi/api.go b/internal/ethapi/api.go index fe931e0643..7b303024de 100644 --- a/internal/ethapi/api.go +++ b/internal/ethapi/api.go @@ -136,6 +136,7 @@ func (s *EthereumAPI) FeeHistory(ctx context.Context, blockCount math.HexOrDecim return results, nil } +// BlobBaseFee returns the base fee for blob gas at the current head. func (s *EthereumAPI) BlobBaseFee(ctx context.Context) (*hexutil.Big, error) { blobBaseFee, err := s.b.BlobBaseFee(ctx) return (*hexutil.Big)(blobBaseFee), err