/** * RPC Utilities * * Default RPC URLs and chain metadata — sourced from viem/chains where possible. * Production apps must provide their own RPCs via walletConfig.ethereum.rpcUrls. */ import type { Chain } from 'viem'; import type { SolanaCluster } from '../solana/types'; export declare function getDefaultEthereumRpcUrl(chainId: number): string; /** * Get default Solana RPC URL for a cluster. */ export declare function getDefaultSolanaRpcUrl(cluster: SolanaCluster): string; /** * Get chain name by chain ID. */ export declare function getChainName(chainId: number): string; /** * Get native currency configuration for a chain. */ export declare function getNativeCurrency(chainId: number): { name: string; symbol: string; decimals: number; }; /** * Build a viem Chain from chainId and optional rpcUrls (e.g. from walletConfig.ethereum.rpcUrls). * Returns the viem/chains object directly when the chain is known and no custom RPC is provided. */ export declare function buildChainFromConfig(chainId: number, rpcUrls?: Record): Chain;