@pokt-network/pocket-js
Version:
Pocket-js core package with the main functionalities to interact with the Pocket Network.
8 lines (7 loc) • 321 B
TypeScript
import { RpcError } from "../errors/rpc-error";
/**
* Describes a provider which will be used by the RPC class to reach out to the Pocket Core RPC interface
*/
export interface IRPCProvider {
send(path: string, payload: string, timeout: number, rejectSelfSignedCertificates: boolean): Promise<string | RpcError>;
}