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.EtherscanABILoader({ baseURL:"https://api.basescan.org/api", apiKey:"...", // Replace the value with your API key }), ]);
Example
Verified contract source code:
Example
Combine loaders with custom settings behind a single interface, or use defaultsWithEnv as a shortcut for this.