interface SupportedNetwork {
    blockExplorers?: {
        default: ChainBlockExplorer;
        etherscan?: ChainBlockExplorer;
    };
    contracts?: {
        [key: string]: ChainContract | {
            [chainId: number]: ChainContract;
        };
    } & {
        ensRegistry?: ChainContract;
        ensUniversalResolver?: ChainContract;
        multicall3?: ChainContract;
    };
    fees?: ChainFees<undefined | ChainFormatters>;
    formatters?: ChainFormatters;
    id: 1 | 42161 | 43114 | 43113 | 8453 | 56 | 42220 | 100 | 10 | 11155420 | 137 | 534352 | 534351 | 11155111;
    name: string;
    nativeCurrency: ChainNativeCurrency;
    network: string;
    rpcUrls: {
        default: ChainRpcUrls;
        public: ChainRpcUrls;
        [key: string]: ChainRpcUrls;
    };
    serializers?: ChainSerializers<undefined | ChainFormatters>;
    sourceId?: number;
    testnet?: boolean;
}

Hierarchy

  • Chain
    • SupportedNetwork

Properties

blockExplorers?: {
    default: ChainBlockExplorer;
    etherscan?: ChainBlockExplorer;
}

Collection of block explorers

Type declaration

  • default: ChainBlockExplorer
  • Optional etherscan?: ChainBlockExplorer
contracts?: {
    [key: string]: ChainContract | {
        [chainId: number]: ChainContract;
    };
} & {
    ensRegistry?: ChainContract;
    ensUniversalResolver?: ChainContract;
    multicall3?: ChainContract;
}

Collection of contracts

Type declaration

  • [key: string]: ChainContract | {
        [chainId: number]: ChainContract;
    }

Type declaration

  • Optional ensRegistry?: ChainContract
  • Optional ensUniversalResolver?: ChainContract
  • Optional multicall3?: ChainContract
fees?: ChainFees<undefined | ChainFormatters>

Modifies how fees are derived.

formatters?: ChainFormatters

Modifies how chain data structures (ie. Blocks, Transactions, etc) are formatted & typed.

id: 1 | 42161 | 43114 | 43113 | 8453 | 56 | 42220 | 100 | 10 | 11155420 | 137 | 534352 | 534351 | 11155111
name: string

Human-readable name

nativeCurrency: ChainNativeCurrency

Currency used by chain

network: string

Internal network name

Deprecated

will be removed in v2 - use id instead.

rpcUrls: {
    default: ChainRpcUrls;
    public: ChainRpcUrls;
    [key: string]: ChainRpcUrls;
}

Collection of RPC endpoints

Type declaration

  • [key: string]: ChainRpcUrls
  • default: ChainRpcUrls
  • public: ChainRpcUrls
serializers?: ChainSerializers<undefined | ChainFormatters>

Modifies how data (ie. Transactions) is serialized.

sourceId?: number

Source Chain ID (ie. the L1 chain)

testnet?: boolean

Flag for test networks

Generated using TypeDoc