UNPKG

pharos-agent-kit

Version:
39 lines 1.2 kB
import { Chain } from "viem/chains"; /** * Pharos Chain Configuration */ export declare const pharosDevnet: { readonly id: 50002; readonly name: "Pharos Devnet"; readonly nativeCurrency: { readonly name: "Ethereum"; readonly symbol: "ETH"; readonly decimals: 18; }; readonly rpcUrls: { readonly default: { readonly http: readonly ["https://devnet.dplabs-internal.com"]; }; readonly public: { readonly http: readonly ["https://devnet.dplabs-internal.com"]; }; }; readonly blockExplorers: { readonly default: { readonly name: "PharosExplorer"; readonly url: "https://pharosscan.xyz/"; readonly apiUrl: ""; }; }; }; export declare const CHAIN_ID_TO_NETWORK_ID: Record<number, string>; export declare const NETWORK_ID_TO_CHAIN_ID: Record<string, string>; export declare const NETWORK_ID_TO_VIEM_CHAIN: Record<string, Chain>; /** * Get a chain from the viem chains object or custom chains * * @param id - The chain ID * @returns The chain */ export declare const getChain: (id: string) => Chain; //# sourceMappingURL=network.d.ts.map