Web3-klaytn

Latest version: v6.0.0b4

Safety actively analyzes 693883 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 26

5.26.0

--------------------

Features
~~~~~~~~

- Add ``middlewares`` property to ``NamedElementOnion`` /
``web3.middleware_onion``. Returns current middlewares in proper order for
importing into a new ``Web3`` instance (`2239
<https://github.com/ethereum/web3.py/issues/2239>`__)
- Add async ``eth.hashrate`` method (`2243
<https://github.com/ethereum/web3.py/issues/2243>`__)
- Add async ``eth.chain_id`` method (`2251
<https://github.com/ethereum/web3.py/issues/2251>`__)
- Add async ``eth.mining`` method (`2252
<https://github.com/ethereum/web3.py/issues/2252>`__)
- Add async ``eth.get_transaction_receipt`` and
``eth.wait_for_transaction_receipt`` methods (`2265
<https://github.com/ethereum/web3.py/issues/2265>`__)
- Add async `eth.accounts` method (`2284
<https://github.com/ethereum/web3.py/issues/2284>`__)
- Support for attaching external modules to the ``Web3`` instance when
instantiating the ``Web3`` instance, via the ``external_modules`` argument,
or via the new ``attach_modules()`` method (`2288
<https://github.com/ethereum/web3.py/issues/2288>`__)


Bugfixes
~~~~~~~~

- Fixed doctest that wasn't running in ``docs/contracts.rst`` (`2213
<https://github.com/ethereum/web3.py/issues/2213>`__)
- Key mapping fix to eth-tester middleware for access list storage keys (`2224
<https://github.com/ethereum/web3.py/issues/2224>`__)
- Inherit ``Web3`` instance middlewares when instantiating ``ENS`` with
``ENS.fromWeb3()`` method (`2239
<https://github.com/ethereum/web3.py/issues/2239>`__)


Improved Documentation
~~~~~~~~~~~~~~~~~~~~~~

- Fix example docs to show a TransactionNotFound error, instead of None (`2199
<https://github.com/ethereum/web3.py/issues/2199>`__)
- fix typo in ethpm.rst (`2277
<https://github.com/ethereum/web3.py/issues/2277>`__)
- Clarify provider usage in Quickstart docs (`2287
<https://github.com/ethereum/web3.py/issues/2287>`__)
- Address common BSC usage question (`2289
<https://github.com/ethereum/web3.py/issues/2289>`__)


Misc
~~~~

- `1729 <https://github.com/ethereum/web3.py/issues/1729>`__, `#2233
<https://github.com/ethereum/web3.py/issues/2233>`__, `#2242
<https://github.com/ethereum/web3.py/issues/2242>`__, `#2260
<https://github.com/ethereum/web3.py/issues/2260>`__, `#2261
<https://github.com/ethereum/web3.py/issues/2261>`__, `#2283
<https://github.com/ethereum/web3.py/issues/2283>`__

5.25.0

--------------------

Features
~~~~~~~~

- Support for ``w3.eth.get_raw_transaction_by_block``, and async support for
``w3.eth.get_raw_transaction_by_block`` (`2209
<https://github.com/ethereum/web3.py/issues/2209>`__)


Bugfixes
~~~~~~~~

- BadResponseFormat error thrown instead of KeyError when a response gets sent
back without a ``result`` key. (`2188
<https://github.com/ethereum/web3.py/issues/2188>`__)


Improved Documentation
~~~~~~~~~~~~~~~~~~~~~~

- Correct link to Websocket library documentation (`2173
<https://github.com/ethereum/web3.py/issues/2173>`__)
- Doc update to make it clearer that enable_unstable_package_management()
method is on the web3 instance (`2208
<https://github.com/ethereum/web3.py/issues/2208>`__)


Misc
~~~~

- `2102 <https://github.com/ethereum/web3.py/issues/2102>`__, `#2179
<https://github.com/ethereum/web3.py/issues/2179>`__, `#2191
<https://github.com/ethereum/web3.py/issues/2191>`__, `#2201
<https://github.com/ethereum/web3.py/issues/2201>`__, `#2205
<https://github.com/ethereum/web3.py/issues/2205>`__, `#2212
<https://github.com/ethereum/web3.py/issues/2212>`__

5.24.0

--------------------

Features
~~~~~~~~

- Add async ``eth.send_raw_transaction`` method (`2135
<https://github.com/ethereum/web3.py/issues/2135>`__)
- Updated eth-account version to v0.5.6 - adds support for signing typed
transactions without needing to explicitly set the transaction type and now
accepts correct JSON-RPC structure for accessList for typed transactions
(`2157 <https://github.com/ethereum/web3.py/issues/2157>`__)


Bugfixes
~~~~~~~~

- Encode block_count as hex before making eth_feeHistory RPC call (`2117
<https://github.com/ethereum/web3.py/issues/2117>`__)


Improved Documentation
~~~~~~~~~~~~~~~~~~~~~~

- Fix typo in AsyncHTTPProvider docs (`2131
<https://github.com/ethereum/web3.py/issues/2131>`__)
- Update AsyncHTTPProvider doc Supported Methods to include
``web3.eth.send_raw_transaction()``. (`2135
<https://github.com/ethereum/web3.py/issues/2135>`__)
- Improve messaging around usage and implementation questions, directing users
to the appropriate channel (`2138
<https://github.com/ethereum/web3.py/issues/2138>`__)
- Clarify some contract ``ValueError`` error messages. (`2146
<https://github.com/ethereum/web3.py/issues/2146>`__)
- Updated docs for w3.eth.account.sign_transaction to reflect that transaction
type is no longer needed to successfully sign typed transactions and to
illustrate how to structure an optional accessList parameter in a typed
transaction (`2157 <https://github.com/ethereum/web3.py/issues/2157>`__)


Misc
~~~~

- `2105 <https://github.com/ethereum/web3.py/issues/2105>`__

5.23.1

--------------------

Features
~~~~~~~~

- Add constants for the zero address, zero hash, max int, and wei per ether. (`2109 <https://github.com/ethereum/web3.py/issues/2109>`__)


Improved Documentation
~~~~~~~~~~~~~~~~~~~~~~

- Renamed "1559 transaction" to "dynamic fee transaction" where appropriate to keep consistency among the general code base for 1559 transaction (type=2) naming (`2118 <https://github.com/ethereum/web3.py/issues/2118>`__)
- Update AsyncHTTPProvider doc example to include modules and middlewares keyword arguments (`2123 <https://github.com/ethereum/web3.py/issues/2123>`__)


Misc
~~~~

- `2110 <https://github.com/ethereum/web3.py/issues/2110>`__, `#2118 <https://github.com/ethereum/web3.py/issues/2118>`__, `#2122 <https://github.com/ethereum/web3.py/issues/2122>`__

5.23.0

--------------------

Features
~~~~~~~~

- Add support for eth_feeHistory RPC method (`2038 <https://github.com/ethereum/web3.py/issues/2038>`__)
- Add support for eth_maxPriorityFeePerGas RPC method (`2100 <https://github.com/ethereum/web3.py/issues/2100>`__)


Bugfixes
~~~~~~~~

- Hot fix for string interpolation issue with contract function call decoding exception to facilitate extracting a meaningful message from the eth_call response (`2096 <https://github.com/ethereum/web3.py/issues/2096>`__)
- Bypass adding a ``gasPrice`` via the gas price strategy, if one is set, when EIP-1559 transaction params are used for ``send_transaction`` (`2099 <https://github.com/ethereum/web3.py/issues/2099>`__)


Improved Documentation
~~~~~~~~~~~~~~~~~~~~~~

- Update feeHistory docs (`2104 <https://github.com/ethereum/web3.py/issues/2104>`__)

5.22.0

--------------------

Features
~~~~~~~~

- Add support for eth_getRawTransactionByHash RPC method (`2039 <https://github.com/ethereum/web3.py/issues/2039>`__)
- Add AsyncNet module (`2044 <https://github.com/ethereum/web3.py/issues/2044>`__)
- Add async ``eth.get_balance``, ``eth.get_code``, ``eth.get_transaction_count`` methods. (`2056 <https://github.com/ethereum/web3.py/issues/2056>`__)
- eth_signTransaction support for eip-1559 params 'maxFeePerGas' and 'maxPriorityFeePerGas' (`2082 <https://github.com/ethereum/web3.py/issues/2082>`__)
- Add support for async ``w3.eth.call``. (`2083 <https://github.com/ethereum/web3.py/issues/2083>`__)


Bugfixes
~~~~~~~~

- If a transaction hash was passed as a string rather than a HexByte to ``w3.eth.wait_for_transaction_receipt``, and the time was exhausted before the transaction is in the chain, the error being raised was a TypeError instead of the correct TimeExhausted error. This is because the ``to_hex`` method in the TimeExhausted error message expects a primitive as the first argument, and a string doesn't qualify as a primitive. Fixed by converting the transaction_hash to HexBytes instead. (`2068 <https://github.com/ethereum/web3.py/issues/2068>`__)
- Hot fix for a string interpolation issue in message when BadFunctionCallOutput is raised for call_contract_function() (`2069 <https://github.com/ethereum/web3.py/issues/2069>`__)
- ``fill_transaction_defaults()`` no longer sets a default ``gasPrice`` if 1559 fees are present in the transaction parameters. This fixes sign-and-send middleware issues with 1559 fees. (`2092 <https://github.com/ethereum/web3.py/issues/2092>`__)


Improved Documentation
~~~~~~~~~~~~~~~~~~~~~~

- Clarify that ``send_transaction``, ``modify_transaction``, and ``replace_transaction`` return HexByte objects instead of strings. (`2058 <https://github.com/ethereum/web3.py/issues/2058>`__)
- Added troubleshooting section for Microsoft Visual C++ error on Windows machines (`2077 <https://github.com/ethereum/web3.py/issues/2077>`__)
- Updated the sign-and-send middleware docs to include EIP-1559 as well as legacy transaction examples (`2092 <https://github.com/ethereum/web3.py/issues/2092>`__)


Misc
~~~~

- `2073 <https://github.com/ethereum/web3.py/issues/2073>`__, `#2080 <https://github.com/ethereum/web3.py/issues/2080>`__, `#2085 <https://github.com/ethereum/web3.py/issues/2085>`__

Page 2 of 26

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.