Updated Adapter - Polygon zkEVM Transaction Fees v0.0.2

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

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.

Sure thing, just added feeTransferToken back

1 Like