import { getChainsPath } from "./apiPaths" import type { Fetcher } from "./fetcher" import type { GetChainsResponse } from "./types" /** * Chain-related API operations */ export class ChainsAPI { constructor(private fetcher: Fetcher) {} /** * Gets the list of supported chains. */ async getChains(): Promise { const response = await this.fetcher.get(getChainsPath()) return response } }