+
+
+ {estimate.currentGasPrice}
+
+
+
+ Est. Fees: {estimate.lowEstimate} - {estimate.highEstimate} ETH
+
+
+ );
+}
+
+const estimatesByContract = {
+ transfer: {
+ lowGasEstimate: BigInt(80000),
+ highGasEstimate: BigInt(130000),
+ },
+ nft: {
+ lowGasEstimate: BigInt(350000),
+ highGasEstimate: BigInt(500000),
+ },
+ createWrapped: {
+ lowGasEstimate: BigInt(450000),
+ highGasEstimate: BigInt(700000),
+ },
+};
+
+export async function getGasEstimates(
+ provider: Provider,
+ contract: MethodType
+): Promise