From d12c98d0cca71bb38d31fba34be1ca59df952c7a Mon Sep 17 00:00:00 2001 From: sea-edge <39196461+sea-edge@users.noreply.github.com> Date: Sun, 10 Jul 2022 07:20:14 +0900 Subject: [PATCH] feat: add Sepolia endpoint (#1467) - https://docs.etherscan.io/getting-started/endpoint-urls --- ethers-etherscan/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ethers-etherscan/src/lib.rs b/ethers-etherscan/src/lib.rs index 472b1e91..a1dde68c 100644 --- a/ethers-etherscan/src/lib.rs +++ b/ethers-etherscan/src/lib.rs @@ -231,7 +231,7 @@ impl ClientBuilder { let (etherscan_api_url, etherscan_url) = match chain { Chain::Mainnet => urls("https://api.etherscan.io/api", "https://etherscan.io"), - Chain::Ropsten | Chain::Kovan | Chain::Rinkeby | Chain::Goerli => { + Chain::Ropsten | Chain::Kovan | Chain::Rinkeby | Chain::Goerli | Chain::Sepolia => { let chain_name = chain.to_string().to_lowercase(); urls( format!("https://api-{}.etherscan.io/api", chain_name),