Adding latest blocks and transactions to dashboard.

This commit is contained in:
softsimon
2020-09-26 02:11:30 +07:00
parent aa3559e634
commit d4f768e3b6
10 changed files with 135 additions and 9 deletions

View File

@@ -13,6 +13,7 @@ export interface WebsocketResponse {
data?: string[];
tx?: Transaction;
rbfTransaction?: Transaction;
transactions?: TransactionStripped[];
'track-tx'?: string;
'track-address'?: string;
'track-asset'?: string;
@@ -33,3 +34,11 @@ export interface MempoolInfo {
size: number;
bytes: number;
}
export interface TransactionStripped {
txid: string;
fee: number;
weight: number;
value: number;
}