Add 'mempool delta' websocket subscriptions

This commit is contained in:
Mononaut
2024-01-21 22:47:41 +00:00
parent ba27ff9c42
commit f8d30bf528
2 changed files with 83 additions and 0 deletions

View File

@@ -71,6 +71,20 @@ export interface MempoolBlockDelta {
changed: MempoolDeltaChange[];
}
export interface MempoolDeltaTxids {
added: string[];
removed: string[];
mined: string[];
replaced: { replaced: string, by: string }[];
}
export interface MempoolDelta {
added: MempoolTransactionExtended[];
removed: string[];
mined: string[];
replaced: { replaced: string, by: TransactionExtended }[];
}
interface VinStrippedToScriptsig {
scriptsig: string;
}