feat: add Sepolia endpoint (#1467)
- https://docs.etherscan.io/getting-started/endpoint-urls
This commit is contained in:
parent
1ff4be74f9
commit
d12c98d0cc
|
@ -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),
|
||||
|
|
Loading…
Reference in New Issue