We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
provider.getFeeData()
I suggest to implement provider.getFeeData() similar to https://docs.alchemy.com/reference/sdk-getfeedata and https://docs.ethers.org/v6/single-page/#Provider-getFeeData.
From Alchemy API Reference:
Returns the recommended fee data to use in a transaction. For an EIP-1559 transaction, the maxFeePerGas and maxPriorityFeePerGas should be used. For legacy transactions and networks which do not support EIP-1559, the gasPrice should be used.
Returns the recommended fee data to use in a transaction. For an EIP-1559 transaction, the maxFeePerGas and maxPriorityFeePerGas should be used.
For legacy transactions and networks which do not support EIP-1559, the gasPrice should be used.
And deprecate getGasPrice (check ethers-io/ethers.js#2439 (reply in thread))
Helpful references:
The text was updated successfully, but these errors were encountered:
And update the documentation according to this. Like in this place and all similar places: https://docs.web3js.org/guides/basics/eth/#eip-1559-transaction
Also look at getFeeHistory.
getFeeHistory
Sorry, something went wrong.
Muhammad-Altabba
Successfully merging a pull request may close this issue.
I suggest to implement
provider.getFeeData()
similar to https://docs.alchemy.com/reference/sdk-getfeedata and https://docs.ethers.org/v6/single-page/#Provider-getFeeData.From Alchemy API Reference:
And deprecate getGasPrice (check ethers-io/ethers.js#2439 (reply in thread))
Helpful references:
The text was updated successfully, but these errors were encountered: