UNPKG

@hyperlane-xyz/utils

Version:

General utilities and types for the Hyperlane network

16 lines 530 B
export interface ChainMetadataWithRpcUrls { rpcUrls?: { http: string; }[]; } interface ApplyRpcUrlOverridesOptions { chainNames?: string[]; env?: NodeJS.ProcessEnv; } /** * Applies RPC URL overrides from environment variables. * Looks for variables with the form RPC_URL_<CHAIN_NAME>. */ export declare function applyRpcUrlOverridesFromEnv(chainMetadata: Record<string, ChainMetadataWithRpcUrls | undefined>, options?: ApplyRpcUrlOverridesOptions): string[]; export {}; //# sourceMappingURL=rpc.d.ts.map