Skip to content

Commit

Permalink
Support Avalanche Snowtrace indexer
Browse files Browse the repository at this point in the history
  • Loading branch information
Uxio0 committed Jan 10, 2022
1 parent 63c36fc commit 7b06095
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gnosis/eth/clients/etherscan_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ class EtherscanClient:
EthereumNetwork.MATIC: "https://polygonscan.com",
EthereumNetwork.OPTIMISTIC: "https://optimistic.etherscan.io",
EthereumNetwork.ARBITRUM: "https://arbiscan.io",
EthereumNetwork.AVALANCHE: "https://snowtrace.io",
}

NETWORK_WITH_API_URL = {
Expand All @@ -44,6 +45,7 @@ class EtherscanClient:
EthereumNetwork.MATIC: "https://api.polygonscan.com",
EthereumNetwork.OPTIMISTIC: "https://api-optimistic.etherscan.io",
EthereumNetwork.ARBITRUM: "https://api.arbiscan.io",
EthereumNetwork.AVALANCHE: "https://api.snowtrace.io",
}
HTTP_HEADERS = {
"User-Agent": "curl/7.77.0",
Expand Down

0 comments on commit 7b06095

Please sign in to comment.