ChainInfo: { automatic_pruning: boolean; bestblockchash: number; bip9_softforks: { [key: string]: { status: "defined" | "started" | "locked_in" | "active" | "failed" } }[]; blocks: number; chain: string; chainwork: string; difficulty: number; headers: number; initialblockdownload: boolean; mediantime: number; prune_target_size: number; pruned: boolean; pruneheight: number; size_on_disk: number; softforks: { id: string; reject: { status: boolean }; version: number }[]; verificationprogress: number; warnings?: string }
Type declaration
-
automatic_pruning: boolean
-
bestblockchash: number
-
bip9_softforks: { [key: string]: { status: "defined" | "started" | "locked_in" | "active" | "failed" } }[]
-
blocks: number
-
chain: string
-
chainwork: string
-
difficulty: number
-
headers: number
-
initialblockdownload: boolean
-
mediantime: number
-
prune_target_size: number
-
pruned: boolean
-
pruneheight: number
-
size_on_disk: number
-
softforks: { id: string; reject: { status: boolean }; version: number }[]
-
verificationprogress: number
-
Optional
warnings?: string