opnet
Version:
The perfect library for building Bitcoin-based applications.
12 lines (11 loc) • 327 B
TypeScript
export interface IBlockWitnessAPI {
readonly trusted: boolean;
readonly signature: string;
readonly identity?: string;
readonly opnetPubKey?: string;
}
export interface IBlockWitness {
blockNumber: bigint | string;
readonly witnesses: IBlockWitnessAPI[];
}
export type BlockWitnesses = IBlockWitness[];