EthersOptions: {
    address?: string;
    apiKey?: string;
    applicationId?: string;
    applicationSecret?: string;
    projectId?: string;
    projectSecret?: string;
    provider?: "etherscan" | "infura" | "alchemy" | "cloudflare" | "pocket" | "ankr";
    startBlock?: number;
}

Type declaration

  • Optional address?: string
  • Optional apiKey?: string
  • Optional applicationId?: string
  • Optional applicationSecret?: string
  • Optional projectId?: string
  • Optional projectSecret?: string
  • Optional provider?: "etherscan" | "infura" | "alchemy" | "cloudflare" | "pocket" | "ankr"
  • Optional startBlock?: number