Skip to content

Commit

Permalink
Added Base endpointsto EtherscanProvider (#4729).
Browse files Browse the repository at this point in the history
  • Loading branch information
ricmoo committed May 16, 2024
1 parent 6c36f13 commit 7e1dc95
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src.ts/providers/provider-etherscan.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
* - Holesky Testnet (``holesky``)
* - Arbitrum (``arbitrum``)
* - Arbitrum Goerli Testnet (``arbitrum-goerli``)
* - Base (``base``)
* - Base Sepolia Testnet (``base-sepolia``)
* - BNB Smart Chain Mainnet (``bnb``)
* - BNB Smart Chain Testnet (``bnbt``)
* - Optimism (``optimism``)
Expand Down Expand Up @@ -171,6 +173,10 @@ export class EtherscanProvider extends AbstractProvider {
return "https:/\/api.arbiscan.io";
case "arbitrum-goerli":
return "https:/\/api-goerli.arbiscan.io";
case "base":
return "https:/\/api.basescan.org";
case "base-sepolia":
return "https:/\/api-sepolia.basescan.org";
case "bnb":
return "https:/\/api.bscscan.com";
case "bnbt":
Expand Down

0 comments on commit 7e1dc95

Please sign in to comment.