Expand description
§Etherscan access for compliance
The one place that knows where the Etherscan API key comes from, and the one way to build a risk engine with or without Etherscan data.
Constants§
- ETHERSCAN_
KEY_ ENV - The environment variable that holds the Etherscan API key.
Functions§
- etherscan_
key - The Etherscan API key:
ETHERSCAN_KEY_ENVwhen it is set, elsechains.api_keys.etherscanin the config file. Reading only the variable ignored the key thatscope setupsaves, so compliance ran without data while the rest of scope used the key.