@vbyte/btc-dev
Version:
Batteries-included toolset for plebian bitcoin development
6 lines (5 loc) • 351 B
TypeScript
import { Buff } from '@vbyte/buff';
import type { SigHashOptions, TxInput, TxData, TxOutput } from '../../types/index.js';
export declare function get_prevout(vin: TxInput): TxOutput;
export declare function parse_txinput(txdata: TxData, config?: SigHashOptions): TxInput;
export declare function get_annex_data(witness?: string[]): Buff | undefined;