Remove frontend fee calculation and read it from the websocket instead

This commit is contained in:
nymkappa
2022-05-27 12:52:40 +02:00
parent 09b2e21fea
commit f20cf266b6
6 changed files with 27 additions and 43 deletions

View File

@@ -21,6 +21,7 @@ export interface WebsocketResponse {
loadingIndicators?: ILoadingIndicators;
backendInfo?: IBackendInfo;
da?: DifficultyAdjustment;
fees?: Recommendedfees;
'track-tx'?: string;
'track-address'?: string;
'track-asset'?: string;
@@ -65,3 +66,11 @@ export interface IBackendInfo {
gitCommit: string;
version: string;
}
export interface Recommendedfees {
fastestFee: number;
halfHourFee: number;
hourFee: number;
minimumFee: number;
economyFee: number;
}