opnet
Version:
The perfect library for building Bitcoin-based applications.
15 lines (11 loc) • 330 B
text/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[];