UNPKG

@keplr-ewallet/ewallet-sdk-cosmos

Version:
10 lines (9 loc) 413 B
import type { ChainInfo } from "@keplr-wallet/types"; import { type Result } from "@keplr-ewallet/stdlib-js"; import { type CosmosEWallet } from "../cosmos_ewallet"; export declare function getCosmosChainInfo(this: CosmosEWallet): Promise<ChainInfo[]>; export declare function fetchCosmosChainInfo(): Promise<Result<ChainInfoResponse, string>>; interface ChainInfoResponse { chains: ChainInfo[]; } export {};