@avalabs/avalanchejs
Version:
Avalanche Platform JS Library
10 lines • 356 B
TypeScript
export type RpcCallOptions = {
headers?: Record<string, string>;
};
export declare class JrpcProvider {
private readonly url;
private reqId;
constructor(url: string);
callMethod<T>(method: string, parameters?: Array<Record<string, any>> | Record<string, any>, fetchOptions?: RequestInit): Promise<T>;
}
//# sourceMappingURL=rpc.d.ts.map