verify
Verifies any contract
const contractAddress = "";const explorerAPIUrl = ""; // e.g. https://api.etherscan.io/apiconst explorerAPIKey = ""; // Generate API key on the explorerconst chainId = 1; // Change according to the network await sdk.verifier.verify( contractAddress, chainId, explorerAPIUrl, explorerAPIKey, storage, // this could be used from the SDK instance, e.g. sdk.storage);
function verify( contractAddress: string, chainId: number, explorerAPIUrl: string, explorerAPIKey: string, encodedConstructorArgs?: string,): Promise<string | Array<string>>;