mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 02:42:27 +00:00
internal/ethapi: add doc for blob base fee method
This commit is contained in:
parent
5fb6b036a5
commit
396424c795
1 changed files with 1 additions and 0 deletions
|
|
@ -136,6 +136,7 @@ func (s *EthereumAPI) FeeHistory(ctx context.Context, blockCount math.HexOrDecim
|
||||||
return results, nil
|
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) {
|
func (s *EthereumAPI) BlobBaseFee(ctx context.Context) (*hexutil.Big, error) {
|
||||||
blobBaseFee, err := s.b.BlobBaseFee(ctx)
|
blobBaseFee, err := s.b.BlobBaseFee(ctx)
|
||||||
return (*hexutil.Big)(blobBaseFee), err
|
return (*hexutil.Big)(blobBaseFee), err
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue