custom dashboard wallet widgets

This commit is contained in:
Mononaut
2024-07-25 22:34:52 +00:00
parent 862c9591a1
commit e095192968
18 changed files with 149 additions and 24 deletions

View File

@@ -164,6 +164,7 @@ export interface AddressTxSummary {
height: number;
time: number;
price?: number;
tx_position?: number;
}
export interface ChainStats {

View File

@@ -1,4 +1,4 @@
import { Block, Transaction } from "./electrs.interface";
import { AddressTxSummary, Block, Transaction } from "./electrs.interface";
export interface OptimizedMempoolStats {
added: number;
@@ -471,3 +471,8 @@ export interface TxResult {
};
error?: string;
}
export interface WalletAddress {
address: string;
active: boolean;
transactions?: AddressTxSummary[];
}

View File

@@ -36,6 +36,7 @@ export interface WebsocketResponse {
'track-rbf'?: string;
'track-rbf-summary'?: boolean;
'track-accelerations'?: boolean;
'track-wallet'?: string;
'watch-mempool'?: boolean;
'refresh-blocks'?: boolean;
}