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