Skip to content

Commit

Permalink
feat(etherscan): add moonbeam urls (gakonst#1232)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsse authored May 6, 2022
1 parent 18b4ef4 commit c7765e1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ethers-etherscan/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,12 @@ impl ClientBuilder {
urls("https://api-testnet.arbiscan.io/api", "https://testnet.arbiscan.io")
}
Chain::Cronos => urls("https://api.cronoscan.com/api", "https://cronoscan.com"),
Chain::Moonbeam => {
urls("https://api-moonbeam.moonscan.io/api", "https://moonbeam.moonscan.io/")
}
Chain::Moonriver => {
urls("https://api-moonriver.moonscan.io/api", "https://moonriver.moonscan.io")
}
Chain::Dev => return Err(EtherscanError::LocalNetworksNotSupported),
chain => return Err(EtherscanError::ChainNotSupported(chain)),
};
Expand Down

0 comments on commit c7765e1

Please sign in to comment.