Skip to content

Commit e78a984

Browse files
committed
polygon amoy gasstation update (#8004)
<!-- start pr-codex --> ## PR-Codex overview This PR updates the gas fee data source for the Polygon network in the `fee-data.ts` file, specifically changing the URL for the testnet case. ### Detailed summary - In the `fee-data.ts` file, the return URL for the case `80002` has been changed from `"https://gasstation-testnet.polygon.technology/v2"` to `"https://gasstation.polygon.technology/amoy"`. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex --> <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Bug Fixes** * Updated the gas fee data source for Polygon Amoy (chain 80002) to the current gas station endpoint, improving accuracy and reliability of priority fee estimates. * Enhances transaction success rates and fee predictions for users interacting with the Amoy network. * No changes for Polygon mainnet (137). <!-- end of auto-generated comment: release notes by coderabbit.ai -->
1 parent e37bd8e commit e78a984

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/thirdweb/src/gas/fee-data.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ function getGasStationUrl(chainId: 137 | 80002): string {
242242
case 137:
243243
return "https://gasstation.polygon.technology/v2";
244244
case 80002:
245-
return "https://gasstation-testnet.polygon.technology/v2";
245+
return "https://gasstation.polygon.technology/amoy";
246246
}
247247
}
248248

0 commit comments

Comments
 (0)