Show accelerated fee rates on mined tx pages

This commit is contained in:
Mononaut
2023-12-05 13:40:17 +00:00
parent ae7b17c4fd
commit 966adf5963
5 changed files with 82 additions and 7 deletions

View File

@@ -302,3 +302,26 @@ export interface INode {
funding_balance?: number;
closing_balance?: number;
}
export interface Acceleration {
txid: string;
status: 'requested' | 'accelerating' | 'mined' | 'completed' | 'failed';
pools: number[];
feePaid: number;
added: number; // timestamp
lastUpdated: number; // timestamp
baseFee: number;
vsizeFee: number;
effectiveFee: number;
effectiveVsize: number;
feeDelta: number;
blockHash: string;
blockHeight: number;
}
export interface AccelerationHistoryParams {
timeframe?: string,
status?: string,
pool?: string,
blockHash?: string,
}