Skip to content

Commit

Permalink
Add BNB URLs to EtherscanProvider networks.
Browse files Browse the repository at this point in the history
  • Loading branch information
ricmoo committed Jul 26, 2023
1 parent ff9d124 commit ec39abe
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 @@ -172,6 +172,12 @@ export class EtherscanProvider extends AbstractProvider {
return "https:/\/api-optimistic.etherscan.io";
case "optimism-goerli":
return "https:/\/api-goerli-optimistic.etherscan.io";

case "bnb":
return "http:/\/api.bscscan.com";
case "bnbt":
return "http:/\/api-testnet.bscscan.com";

default:
}

Expand Down

0 comments on commit ec39abe

Please sign in to comment.