Skip to content

Commit af7f882

Browse files
committed
Migrate Etherscan gas oracle URL to v2
1 parent 31d789e commit af7f882

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shared/services/gas/etherscan/etherscan.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99
"github.com/goccy/go-json"
1010
)
1111

12-
const gasOracleUrl string = "https://api.etherscan.io/api?module=gastracker&action=gasoracle"
12+
const gasOracleUrl string = "https://api.etherscan.io/v2/api?chainid=%1&module=gastracker&action=gasoracle"
1313

1414
// Standard response
1515
type gasOracleResponse struct {

0 commit comments

Comments
 (0)