Function isChainConfig

  • Check whether a NetworkInput value is a Chain config (naively, without parsing)

    Parameters

    Returns network is {
        chainId: number;
        nativeCurrency: { symbol: string; name: string; decimals: number; };
        rpc: string[];
        slug: string;
    } | Chain

Generated using TypeDoc