@circle-fin/usdckit - v0.18.0
    Preparing search index...

    Type Alias Chain<formatters, custom>

    Chain: {
        blockExplorers?: {
            default: ChainBlockExplorer;
            [key: string]: ChainBlockExplorer;
        };
        blockTime?: number;
        contracts?: Prettify<
            {
                [key: string]: | undefined
                | ChainContract
                | { [sourceId: number]: undefined
                | ChainContract };
            } & {
                ensRegistry?: ChainContract;
                ensUniversalResolver?: ChainContract;
                multicall3?: ChainContract;
                universalSignatureVerifier?: ChainContract;
            },
        >;
        ensTlds?: readonly string[];
        id: number;
        name: string;
        nativeCurrency: ChainNativeCurrency;
        rpcUrls: { default: ChainRpcUrls; [key: string]: ChainRpcUrls };
        sourceId?: number;
        testnet?: boolean;
    } & ChainConfig<formatters, custom>

    Type Parameters

    • formatters extends ChainFormatters | undefined = ChainFormatters | undefined
    • custom extends Record<string, unknown> | undefined = Record<string, unknown> | undefined

    Type declaration

    • OptionalblockExplorers?: { default: ChainBlockExplorer; [key: string]: ChainBlockExplorer }

      Collection of block explorers

    • OptionalblockTime?: number

      Block time in milliseconds.

    • Optionalcontracts?: Prettify<
          {
              [key: string]: | undefined
              | ChainContract
              | { [sourceId: number]: undefined
              | ChainContract };
          } & {
              ensRegistry?: ChainContract;
              ensUniversalResolver?: ChainContract;
              multicall3?: ChainContract;
              universalSignatureVerifier?: ChainContract;
          },
      >

      Collection of contracts

    • OptionalensTlds?: readonly string[]

      Collection of ENS TLDs for the chain.

    • id: number

      ID in number form

    • name: string

      Human-readable name

    • nativeCurrency: ChainNativeCurrency

      Currency used by chain

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

      Collection of RPC endpoints

    • OptionalsourceId?: number

      Source Chain ID (ie. the L1 chain)

    • Optionaltestnet?: boolean

      Flag for test networks