UNPKG

@archwayhq/arch3-core

Version:

Core library to interact with Archway Network

11 lines (10 loc) 622 B
import { CometClient, HttpEndpoint, HttpBatchClientOptions } from '@cosmjs/tendermint-rpc'; /** * Auto-detects Tendermint/CometBFT 0.34/0.37/0.38 version for connecting to an RPC Client with an HttpBatchClient. * * @param endpoint - String URL of the RPC endpoint to connect or an {@link HttpEndpoint} object. * @param options - Optional configuration to control how the {@link HttpBatchClient} will batch requests. * * @returns A connected {@link CometClient} */ export declare function connectCometWithBatchClient(endpoint: string | HttpEndpoint, options?: Partial<HttpBatchClientOptions>): Promise<CometClient>;