Interface SupportedNetwork

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 | 421613 | 43114 | 43113 | 8453 | 84531 | 56 | 42220 | 100 | 5 | 11155111 | 10 | 420 | 137 | 80001
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