postchain-client
Version:
Client library for accessing a Postchain node through REST.
10 lines (9 loc) • 470 B
TypeScript
import type { RestClient } from "../restclient/interfaces";
import type { ChromiaClient } from "./interfaces";
/**
* @deprecated Use the function createClient instead.
* Provides postchain clients that can be used to communicate with dapps within the chromia network
* @param chain0BRID brid of chain0
* @param rest rest client configured to node running chain0
*/
export declare function chromiaClientProvider(chain0BRID: string, rest: RestClient): ChromiaClient;