@azpool/chia-client
Version:
TypeScript client for Chia node peer RPC interface
25 lines (24 loc) • 654 B
TypeScript
export interface BlockHeader {
data: {
additions_root: string;
aggregated_signature: string;
cost: string;
extension_data: string;
farmer_rewards_puzzle_hash: string;
filter_hash: string;
generator_hash: string;
height: number;
pool_target: {
max_height: number;
puzzle_hash: string;
};
prev_header_hash: string;
proof_of_space_hash: string;
removals_root: string;
timestamp: string;
total_iters: string;
total_transaction_fees: string;
weight: string;
};
plot_signature: string;
}