Variable localhostConst

localhost: {
    id: 1337;
    name: "Localhost";
    nativeCurrency: {
        decimals: 18;
        name: "Ether";
        symbol: "ETH";
    };
    network: "localhost";
    rpcUrls: {
        default: {
            http: readonly ["http://127.0.0.1:8545"];
        };
        public: {
            http: readonly ["http://127.0.0.1:8545"];
        };
    };
}

Type declaration

  • Readonly id: 1337
  • Readonly name: "Localhost"
  • Readonly nativeCurrency: {
        decimals: 18;
        name: "Ether";
        symbol: "ETH";
    }
    • Readonly decimals: 18
    • Readonly name: "Ether"
    • Readonly symbol: "ETH"
  • Readonly network: "localhost"
  • Readonly rpcUrls: {
        default: {
            http: readonly ["http://127.0.0.1:8545"];
        };
        public: {
            http: readonly ["http://127.0.0.1:8545"];
        };
    }
    • Readonly default: {
          http: readonly ["http://127.0.0.1:8545"];
      }
      • Readonly http: readonly ["http://127.0.0.1:8545"]
    • Readonly public: {
          http: readonly ["http://127.0.0.1:8545"];
      }
      • Readonly http: readonly ["http://127.0.0.1:8545"]

Generated using TypeDoc