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

Hierarchy

  • Chain
    • SupportedNetwork

Properties

blockExplorers?: {
    default: ChainBlockExplorer;
    [key: string]: ChainBlockExplorer;
}

Collection of block explorers

Type declaration

  • [key: string]: ChainBlockExplorer
  • default: ChainBlockExplorer
contracts?: {
    ensRegistry?: ChainContract;
    ensUniversalResolver?: ChainContract;
    multicall3?: ChainContract;
}

Collection of contracts

Type declaration

  • Optional ensRegistry?: ChainContract
  • Optional ensUniversalResolver?: ChainContract
  • Optional multicall3?: ChainContract
custom?: Record<string, unknown>

Custom chain data.

fees?: ChainFees<undefined | ChainFormatters>

Modifies how fees are derived.

formatters?: ChainFormatters

Modifies how data is formatted and typed (e.g. blocks and transactions)

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

Human-readable name

nativeCurrency: ChainNativeCurrency

Currency used by chain

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

Collection of RPC endpoints

Type declaration

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

Modifies how data is serialized (e.g. transactions).

sourceId?: number

Source Chain ID (ie. the L1 chain)

testnet?: boolean

Flag for test networks