UNPKG

@btc-vision/transaction

Version:

OPNet transaction library allows you to create and sign transactions for the OPNet network.

6 lines (5 loc) 372 B
import { PsbtInput } from '@btc-vision/bitcoin'; export declare function isTaprootInput(input: PsbtInput): boolean; export declare function getInputRelevantScript(input: PsbtInput): Buffer | null; export declare function canSignNonTaprootInput(input: PsbtInput, publicKey: Buffer): boolean; export declare function pubkeyInScript(pubkey: Buffer, script: Buffer): boolean;