UNPKG

@keplr-ewallet/ewallet-sdk-cosmos

Version:
12 lines (11 loc) 486 B
import type { KeplrEWalletInterface } from "@keplr-ewallet/ewallet-sdk-core"; import type { Result } from "@keplr-ewallet/stdlib-js"; import type { ChainInfo } from "@keplr-wallet/types"; type SendGetCosmosChainInfoError = { type: "wrong_ack_message_type"; } | { type: "payload_contains_err"; err: any; }; export declare function sendGetCosmosChainInfo(ewallet: KeplrEWalletInterface, chainId?: string): Promise<Result<ChainInfo[], SendGetCosmosChainInfoError>>; export {};