custom dashboard wallet widgets
This commit is contained in:
@@ -164,6 +164,7 @@ export interface AddressTxSummary {
|
||||
height: number;
|
||||
time: number;
|
||||
price?: number;
|
||||
tx_position?: number;
|
||||
}
|
||||
|
||||
export interface ChainStats {
|
||||
|
||||
@@ -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[];
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user