Combine loaders with custom settings behind a single interface, or use defaultsWithEnv as a shortcut for this.
constloader = newwhatsabi.loaders.MultiABILoader([ newwhatsabi.loaders.SourcifyABILoader({ chainId:8453 }), newwhatsabi.loaders.EtherscanV2ABILoader({ apiKey:"...", // Replace the value with your API key chainId:8453, }), ]);
Example
Verified contract source code:
Example
Combine loaders with custom settings behind a single interface, or use defaultsWithEnv as a shortcut for this.