export interface Address { address: string; amount: number; requiredConf: number; onlyReqConf: boolean; } export interface WebsocketPayload { network: string; timestamp: number; blockDate: Date; txHash: string; blockNumber: string; addresses: Address[]; messageID: string; inputs?: string[]; outputs?: string[]; addressFrom?: string; tokenContractAddress?: string; nbConf: number; } import { Observable } from "rxjs"; export interface WatcherProxy { watch(transactionId: string, address: string, network: string, nbConf: number, from?: string, amount?: number): Observable; unwatch(transactionId: string, address: string, network: string, nbConf: number, from?: string, amount?: number): Observable; }