UNPKG

@btc-vision/transaction

Version:

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

12 lines 689 B
import { PsbtInput } from '../../node_modules/@btc-vision/bitcoin/browser/index.js'; export declare function isTaprootInput(input: PsbtInput): boolean; export declare function getInputRelevantScript(input: PsbtInput): Uint8Array | null; export declare function canSignNonTaprootInput(input: PsbtInput, publicKey: Uint8Array): boolean; /** * Checks if a public key is present in a script. * @param pubkey The public key to check. * @param script The script to search in. * @returns A boolean indicating whether the public key is present in the script. */ export declare function pubkeyInScript(pubkey: Uint8Array, script: Uint8Array): boolean; //# sourceMappingURL=SignerUtils.d.ts.map