Home > Quick > Body

Polygon zkEVM推出自定义端点解决Gas预估费过高问题

clock
2024-03-12 14:22:46
OdPolygon zkEVM 推出 dApp 的自定义端点,以解决 Gas 预估费远高于实际支付费用这一问题,该更新非强制性,但建议使用。今年早些时候,Polygon zkEVM 改变了计算交易费用的方式,虽然对于大多数类型的 DeFi 活动用户支付的实际交易费用都下降了,但用户签署的 Gas 估价远高于他们最终支付的价格。为解决这一问题,Polygon zkEVM 推出了自定义端点的解决方案。在给定网络状态的情况下, zkevm_estimateGasPrice 根据所使用的交易类型和调用数据返回几乎准确的 Gas 价格。而 zkevm_estimateFee 在给定网络状态的情况下,会根据估计的 Gas 价格返回估计的交易费用。
Disclaimer:
1. The information provided does not constitute investment advice. Investors should make independent decisions and bear all risks themselves.
2. The copyright of this content belongs to the original author. The views expressed herein are solely those of the author and do not represent the stance or position of this website.
New Tab Page - Desk3 | Plugin
Stay ahead of the game in the cryptocurrency space.