Collection of comprehensive TypeScript libraries for Interaction with the Ethereum JSON RPC API and utility functions.
ContractDeploySend
, ContractMethodSend
, Web3PromiEvent
was exported (#6883)toNumber(...)
function (#6880)Thank you to the community who have contributed to this release 😄:
@sgerodes #6882
@EtlesL #6836
@Jouzep #6853
@sarthak1dev #6867
@edison1105 #6885
@gucovip #6886
@testwill #6889
@pengqiseven #6878
requestEIP6963Providers
for multi provider discoveryeth.getMaxPriorityFeePerGas
method (#6748)setAddress
in ENS and Resolver classes (#5956)getMaxPriorityFeePerGas
method (#6748)FeeData
to be filled by await web3.eth.calculateFeeData()
to be used with EIP-1559 transactions (#6795)Thanks for contributions in web3.js lib:
AbiItem
from 1.x to v4 for compatabiltiy (#6678)AbiItem
from 1.x to v4 for compatabiltiy (#6678)Thanks for contributions in web3.js lib:
Commencing from January 1, 2024, a 90-day countdown has been initiated, signaling the transition of Web3.js version 1.x into an end-of-maintenance phase.
90-Day Countdown (1/1/24 - 3/31/24): During this period, we strongly encourage users to plan accordingly and initiate the upgrade to Web3.js version 4.x
Starting April 1, 2024, new bug fixes for Web3.js version 1.x will no longer be provided. To benefit from continued support and access to new features, we recommend upgrading to Web3.js version 4.x
Security fixes for Web3.js version 1.x will be discontinued from July 1, 2024. Upgrading to Web3.js version 4.x is crucial to ensure the security of your applications.
TransactionPollingTimeoutError
was added to send transaction events (#6623)AbiError
instead of Error
for errors at web3-eth-abi (#6641).deploy
function to accept parameters, even when no ABI was provided to the Contract
(#6635)common
did not have a copy()
and the chainId
was not provided (#6663)contract.getPastEvents
or contract.events.allEvents()
, if there is no matching events. (#6647)contractDataInputFill
has been defaulted to data
, istead of input
. (#6622)data
instead of input
within method calls (#6622)SocketProvider
now contains public function getPendingRequestQueueSize
, getSentRequestsQueueSize
and clearQueues
(#6479)safeDisconnect
as a SocketProvider
method to disconnect only when request queue size and send request queue size is 0 (#6479)isContractInitOptions
method (#6555)isMetaMaskProvider
function to check if provider is metamask (#6534)MetaMaskProvider
added and is part of SupportedProviders
(#6534)gasPrice
was added to Transaction1559UnsignedAPI
type. (#6539)transactionTimeoutHint
(#6559)data
for transactions in contract for metamask provider instead of input
(#6534)ALL_EVENTS
and ALL_EVENTS_ABI
constants, SendTransactionEventsBase
type, decodeEventABI
method (#6410)privateKeyToPublicKey
BaseTransaction
from the package (#6493)txUtils
from the package (#6493)EventLog
was added. (#6410)EventEmitter
has been implemented and exported. (#6398)checkRevertBeforeSending
in sendSignedTransaction
defaultTransactionBuilder
for value issue (#6509)recover
function, v
will be normalized to value 0,1 (#6344)convertToZod
method (#6434)EventEmitter
from web3-utils
that works in node envrioment as well as in the browser. (#6398)events
property was added to the receipt
object (#6410)