UNPKG

@vbyte/btc-dev

Version:

Batteries-included toolset for plebian bitcoin development

12 lines (11 loc) 469 B
import type { ControlBlock } from '../../types/index.js'; export declare function parse_taproot_witness(witness: string[]): { cblock: ControlBlock; params: string[]; script: string; tapkey: string; tweak: string; }; export declare function parse_cblock(cblock: string | Uint8Array): ControlBlock; export declare function parse_cblock_parity(cbits: number): number[]; export declare function parse_pubkey_parity(pubkey: string | Uint8Array): number;