Function getChainIdFromNetwork

  • Parameters

    • network: ChainOrRpcUrl
    • options: {
          clientId?: string;
          gasSettings: { maxPriceInGwei: number; speed: "standard" | "fast" | "fastest"; };
          gasless?: ({ openzeppelin: { relayerUrl: string; useEOAForwarder: boolean; domainName: string; domainVersion: string; relayerForwarderAddress?: string | undefined; }; experimentalChainlessSupport: boolean; }) | ({ biconomy: { apiId: string; apiKey: string; deadlineSeconds: number; }; }) | ({ engine: { relayerUrl: string; }; });
          gatewayUrls?: string[];
          readonlySettings?: { rpcUrl: string; chainId?: number | undefined; };
          secretKey?: string;
          supportedChains: ({ rpc: string[]; chainId: number; nativeCurrency: { symbol: string; name: string; decimals: number; }; slug: string; })[];
      }
      • Optional clientId?: string
      • gasSettings: { maxPriceInGwei: number; speed: "standard" | "fast" | "fastest"; }
      • Optional gasless?: ({ openzeppelin: { relayerUrl: string; useEOAForwarder: boolean; domainName: string; domainVersion: string; relayerForwarderAddress?: string | undefined; }; experimentalChainlessSupport: boolean; }) | ({ biconomy: { apiId: string; apiKey: string; deadlineSeconds: number; }; }) | ({ engine: { relayerUrl: string; }; })
      • Optional gatewayUrls?: string[]
      • Optional readonlySettings?: { rpcUrl: string; chainId?: number | undefined; }
      • Optional secretKey?: string
      • supportedChains: ({ rpc: string[]; chainId: number; nativeCurrency: { symbol: string; name: string; decimals: number; }; slug: string; })[]

    Returns number

Generated using TypeDoc