@oko-wallet/oko-sdk-cosmos
Version:
12 lines (11 loc) • 472 B
TypeScript
import type { OkoWalletInterface } from "@oko-wallet/oko-sdk-core";
import type { Result } from "@oko-wallet/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(okoWallet: OkoWalletInterface, chainId?: string): Promise<Result<ChainInfo[], SendGetCosmosChainInfoError>>;
export {};