sapphireLocalnet: {
    blockExplorers?: {
        default: ChainBlockExplorer;
        [key: string]: ChainBlockExplorer;
    };
    contracts?: {
        ensRegistry?: ChainContract;
        ensUniversalResolver?: ChainContract;
        multicall3?: ChainContract;
    };
    custom?: Record<string, unknown>;
    fees?: ChainFees<undefined>;
    formatters?: undefined;
    id: number;
    name: "Oasis Sapphire Localnet";
    nativeCurrency: {
        decimals: 18;
        name: "Sapphire Local Rose";
        symbol: "TEST";
    };
    network: "sapphire-localnet";
    rpcUrls: {
        default: {
            http: readonly [string];
        };
    };
    serializers?: ChainSerializers<undefined>;
    sourceId?: number;
    testnet: true;
} = ...

sapphire-localnet chain, a local chain for local people

Type declaration

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

    Collection of block explorers

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

    Collection of contracts

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

    Custom chain data.

  • Optional fees?: ChainFees<undefined>

    Modifies how fees are derived.

  • Optional formatters?: undefined

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

  • id: number

    ID in number form

  • name: "Oasis Sapphire Localnet"

    Human-readable name

  • nativeCurrency: {
        decimals: 18;
        name: "Sapphire Local Rose";
        symbol: "TEST";
    }

    Currency used by chain

    • Readonly decimals: 18
    • Readonly name: "Sapphire Local Rose"
    • Readonly symbol: "TEST"
  • Readonly network: "sapphire-localnet"
  • rpcUrls: {
        default: {
            http: readonly [string];
        };
    }

    Collection of RPC endpoints

    • Readonly default: {
          http: readonly [string];
      }
      • Readonly http: readonly [string]
  • Optional serializers?: ChainSerializers<undefined>

    Modifies how data (ie. Transactions) is serialized.

  • Optional sourceId?: number

    Source Chain ID (ie. the L1 chain)

  • testnet: true

    Flag for test networks