UNPKG

zkverifyjs

Version:

Submit proofs to zkVerify and query proof state with ease using our npm package.

11 lines 604 B
import { EstablishedConnection } from './types'; import { NetworkConfig } from '../../types'; /** * Establishes a connection to the zkVerify blockchain by initializing the API and provider. * * @param config - NetworkConfig object containing details such as websocket and rpc urls. * @returns {Promise<EstablishedConnection>} The initialized API and provider. * @throws Will throw an error if the connection fails or if the provided configuration is invalid. */ export declare const establishConnection: (config: NetworkConfig) => Promise<EstablishedConnection>; //# sourceMappingURL=index.d.ts.map