mirror of
https://github.com/cosmos/cosmjs.git
synced 2025-03-10 21:49:15 +00:00
14 lines
446 B
TypeScript
14 lines
446 B
TypeScript
import { ChainConnector, ChainId } from "@iov/bcp";
|
|
import { CosmosBech32Prefix } from "./address";
|
|
import { CosmosConnection } from "./cosmosconnection";
|
|
import { TokenInfos } from "./types";
|
|
/**
|
|
* A helper to connect to a cosmos-based chain at a given url
|
|
*/
|
|
export declare function createCosmosConnector(
|
|
url: string,
|
|
prefix: CosmosBech32Prefix,
|
|
tokenInfo: TokenInfos,
|
|
expectedChainId?: ChainId,
|
|
): ChainConnector<CosmosConnection>;
|