Replacing ln-service library and wait for graph sync.

This commit is contained in:
softsimon
2022-07-06 21:43:47 +02:00
parent 1f2254681a
commit 73c4a934ce
7 changed files with 73 additions and 35 deletions

View File

@@ -3,5 +3,5 @@ import { ILightningApi } from './lightning-api.interface';
export interface AbstractLightningApi {
$getNetworkInfo(): Promise<ILightningApi.NetworkInfo>;
$getNetworkGraph(): Promise<ILightningApi.NetworkGraph>;
$getChanInfo(id: string): Promise<ILightningApi.Channel>;
$getInfo(): Promise<ILightningApi.Info>;
}