> ## Content Index
> Fetch the complete content index at: https://blog.chainsafe.io/llms.txt
> Use this file to discover other available public pages before exploring further.

# web3.eth.getBlock(): Notice of breaking output change
- URL: https://blog.chainsafe.io/web3-eth-getblock-notice-of-breaking-output-change/
- Published: 2021-09-16T19:44:51.000Z
- Updated: 2026-05-08T23:23:26.000Z
- Author: ChainSafe Systems
- Tags: Ethereum, #Import 2023-11-01 00:46, #Import 2026-11-04 06:17

Authored by **Phil Ngo**

*As part of our ongoing efforts to improve community engagement and communication, we are publishing notice of a potential breaking change in the usage of Web3.js.*

**Reference Github Issue #4326:** [https://github.com/ChainSafe/web3.js/issues/4326](https://github.com/ChainSafe/web3.js/issues/4326?ref=blog.chainsafe.io)

**Published Pull Request #4330:** [https://github.com/ChainSafe/web3.js/pull/4330](https://github.com/ChainSafe/web3.js/pull/4330?ref=blog.chainsafe.io)

**Reference Documentation:** [https://web3js.readthedocs.io/en/v1.5.2/web3-eth.html#getblock](https://web3js.readthedocs.io/en/v1.5.2/web3-eth.html?ref=blog.chainsafe.io#getblock)

---

Web3.js will be merging a potential breaking change in the output of the`baseFeePerGas` field. The field currently returns a hexadecimal number, but will return a **Number** after this PR merge.

Discussions on the PR are available for community discussion. **Edit:** **The update has been re-scheduled for the `1.6.1` release which will be undergoing RC testing next week and scheduled deployment on October 4, 2021.**

Please update your code accordingly.