Polygon zkEVM Launches Custom Endpoints for DApps to Address High Estimated Gas Fee Problem
In Brief
Polygon zkEVM unveiled a custom endpoint aimed at solving the problem of estimated gas fees exceeding the actual gas fees paid.
Layer 2 Scaling Solution developed by Polygon Labs, Polygon zkEVM introduced a custom endpoint aimed at solving the problem of estimated gas fees exceeding the actual gas fees paid.
In addition to the standard endpoint “eth_estimateGas” that returns the gas required for transaction execution based on the network’s state, Polygon zkEVM introduced two new custom endpoints.
“zkevm_estimateGasPrice” offers an almost precise gas price based on the transaction type and calldata used, considering the state of the network, while “zkevm_estimateFee” provides the estimated transaction fee in accordance with the estimated gas price, considering the state of the network.
Polygon zkEVM stated that the new custom endpoint returned an estimated fee that is approximately 20% lower than the standard endpoint. For decentralized applications (dApps) that continue in using the standard endpoint, users will consistently sign for the higher price, yet the actual fee paid will align with that of the custom endpoint.
For RPC infrastructure providers, this custom endpoint is accessible in Node version 0.5.13, integrated into the Etrog upgrade V0.5.13. Furthermore, for those operating as an infrastructure provider running RPC nodes on Polygon zkEVM, updating to the most recent node release on the mainnet is essential to allow dApps to invoke “zkevm_estimateGasPrice.”
Polygon zkEVM Alters Transaction Fee Calculation
As one of Polygon’s scaling solutions allowing developers to create dApps with low transaction fees, Polygon zkEVM is a Layer 2 network of the Ethereum Virtual Machine (EVM), serving as a zero-knowledge rollup. By leveraging ZK proof technology, Polygon zkEVM aims to lower transaction costs and enhance throughput, all while inheriting the security of Ethereum Layer 1.
Polygon zkEVM modified its transaction fee calculation earlier this year. Although the actual transaction fees for users decreased in most decentralized finance (DeFi) activities, the estimated gas price users had to sign was significantly higher than the eventual amount they would pay.
With the introduction of a custom endpoint to address gas fee discrepancies, Polygon zkEVM is set to enhance its efficiency, adjusting estimates and reducing costs for users and developers.
Disclaimer
In line with the Trust Project guidelines, please note that the information provided on this page is not intended to be and should not be interpreted as legal, tax, investment, financial, or any other form of advice. It is important to only invest what you can afford to lose and to seek independent financial advice if you have any doubts. For further information, we suggest referring to the terms and conditions as well as the help and support pages provided by the issuer or advertiser. MetaversePost is committed to accurate, unbiased reporting, but market conditions are subject to change without notice.
About The Author
Alisa, a dedicated journalist at the MPost, specializes in cryptocurrency, zero-knowledge proofs, investments, and the expansive realm of Web3. With a keen eye for emerging trends and technologies, she delivers comprehensive coverage to inform and engage readers in the ever-evolving landscape of digital finance.
More articlesAlisa, a dedicated journalist at the MPost, specializes in cryptocurrency, zero-knowledge proofs, investments, and the expansive realm of Web3. With a keen eye for emerging trends and technologies, she delivers comprehensive coverage to inform and engage readers in the ever-evolving landscape of digital finance.