Use Secure endpoints for BNB on Etherscan (#4525).

This commit is contained in:
Richard Moore 2024-01-30 23:55:06 -05:00
parent 561f7a0f38
commit 1f6e188251

View File

@ -171,9 +171,9 @@ export class EtherscanProvider extends AbstractProvider {
case "arbitrum-goerli": case "arbitrum-goerli":
return "https:/\/api-goerli.arbiscan.io"; return "https:/\/api-goerli.arbiscan.io";
case "bnb": case "bnb":
return "http:/\/api.bscscan.com"; return "https:/\/api.bscscan.com";
case "bnbt": case "bnbt":
return "http:/\/api-testnet.bscscan.com"; return "https:/\/api-testnet.bscscan.com";
case "matic": case "matic":
return "https:/\/api.polygonscan.com"; return "https:/\/api.polygonscan.com";
case "matic-mumbai": case "matic-mumbai":