Skip to content

Commit

Permalink
ALL-7258 - polygon estimate dirty fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Hathoriel committed May 30, 2024
1 parent 8338589 commit e2694f1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tatumio",
"version": "2.2.75",
"version": "2.2.76",
"license": "MIT",
"repository": "https://github.com/tatumio/tatum-js",
"scripts": {
Expand Down
3 changes: 2 additions & 1 deletion packages/blockchain/polygon/src/lib/services/polygon.web3.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e2694f1

Please sign in to comment.