From e2694f1376fc72b9a09d08c821eb217b60424b70 Mon Sep 17 00:00:00 2001 From: Hathoriel Date: Thu, 30 May 2024 17:08:30 +0200 Subject: [PATCH] ALL-7258 - polygon estimate dirty fix --- package.json | 2 +- packages/blockchain/polygon/src/lib/services/polygon.web3.ts | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 1bb38bdc9c..5240c2ff3c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "tatumio", - "version": "2.2.75", + "version": "2.2.76", "license": "MIT", "repository": "https://github.com/tatumio/tatum-js", "scripts": { diff --git a/packages/blockchain/polygon/src/lib/services/polygon.web3.ts b/packages/blockchain/polygon/src/lib/services/polygon.web3.ts index 4511c4435b..573bf7d85d 100644 --- a/packages/blockchain/polygon/src/lib/services/polygon.web3.ts +++ b/packages/blockchain/polygon/src/lib/services/polygon.web3.ts @@ -23,7 +23,8 @@ export const polygonWeb3 = (args: { blockchain: EvmBasedBlockchain; client?: Web const possiblyGasStationApiKey = gasStationApiKey ?? process.env['TATUM_GAS_STATION_API_KEY'] if (possiblyGasStationApiKey) { - gasStationUrl = `${gasStationUrl}?apiKey=${possiblyGasStationApiKey}` + // TODO: find API key and put it here + gasStationUrl = `${gasStationUrl}` } const data = (await httpHelper.get(gasStationUrl)).data as GasStationResponse