Wait for an push transactions that hasn't yet appeared in the mempool

This commit is contained in:
softsimon
2020-04-13 01:26:53 +07:00
parent c5796a8062
commit e2671df4be
5 changed files with 90 additions and 33 deletions

View File

@@ -1,4 +1,4 @@
import { Block } from './electrs.interface';
import { Block, Transaction } from './electrs.interface';
export interface WebsocketResponse {
block?: Block;
@@ -10,6 +10,7 @@ export interface WebsocketResponse {
vBytesPerSecond?: number;
action?: string;
data?: string[];
tx?: Transaction;
'track-tx'?: string;
'track-address'?: string;
}