add size per weight graph and ts type for getHistoricalBlockSizesAndWeights

This commit is contained in:
Antoni Spaanderman
2023-02-16 15:39:09 +01:00
parent ae9f98f26c
commit a897aebbc1
3 changed files with 42 additions and 4 deletions

View File

@@ -151,6 +151,19 @@ export interface RewardStats {
totalTx: number;
}
export interface BlockSizesAndWeights {
sizes: {
timestamp: number;
avgHeight: number;
avgSize: number;
}[];
weights: {
timestamp: number;
avgHeight: number;
avgWeight: number;
}[];
}
export interface AuditScore {
hash: string;
matchRate?: number;