cosmjs/types/cosmosconnector.d.ts
2020-01-22 09:55:20 +01:00

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>;