Skip to content

Commit 1dba8cc

Browse files
committed
Changed maxPriorityFeemaxFee for polygon gas station parsing
1 parent 867cdba commit 1dba8cc

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
## Unreleased
44

5+
- fixed: (Polygon) Use `maxFee` instead of `maxPriorityFee` for gas station parsing
6+
57
## 4.65.1 (2025-11-28)
68

79
- fixed: Disabled decoy address routines for performance reasons.

src/ethereum/ethereumSchema.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@ export const asEvmGasStation = (
4242
case 'polygon': {
4343
const polygonFees = asPolygonGasStation(raw)
4444
return {
45-
safeLow: polygonFees.safeLow.maxPriorityFee,
46-
average: polygonFees.standard.maxPriorityFee,
47-
fast: polygonFees.fast.maxPriorityFee,
48-
fastest: polygonFees.fast.maxPriorityFee * 1.25
45+
safeLow: polygonFees.safeLow.maxFee,
46+
average: polygonFees.standard.maxFee,
47+
fast: polygonFees.fast.maxFee,
48+
fastest: polygonFees.fast.maxFee * 1.25
4949
}
5050
}
5151
default: {

0 commit comments

Comments
 (0)