check_etherscan_api_key

Documentation for eth_defi.etherscan.validation.check_etherscan_api_key function.

check_etherscan_api_key(web3, api_key)

Check if Etherscan API key should work.

  • Check using Etherscan v2 multichain support

Raises

EtherscanConfigurationError – if the API key is not vali or chain mismatch.

Parameters
  • web3 (web3.main.Web3) –

  • api_key (str) –