Updated Adapter - Polygon zkEVM Transaction Fees v0.0.2
Created Apr 10, 2023·667 views·0 replies·2 likes
lgingerich
Apr 10, 2023, 09:24 AM
Polygon zkEVM Transaction Fees - v0.0.2
v0.0.1 used hardcoded gas values for the feeTransferERC20 and feeSwap queries. I have updated both of these queries to now use the ethers.js estimateGas() method. Uniswap is not yet live, therefore, the feeSwap query estimates based on a Quickswap V3 transaction.
♥ 1 like
David
Apr 10, 2023, 11:02 AM
Looks good! But do you mind adding back the feeTransferToken query?
I know it’s a duplicate of feeTransferERC20, but we’re trying to transition to the more “generic” name.
lgingerich
Apr 10, 2023, 11:22 AM
Sure thing, just added feeTransferToken back
♥ 1 like