opnet
Version:
The perfect library for building Bitcoin-based applications.
15 lines (14 loc) • 519 B
TypeScript
import { ScriptPubKey } from '@btc-vision/bitcoin-rpc';
import { IUTXO } from './interfaces/IUTXO.js';
export declare class UTXO implements Omit<IUTXO, 'raw'> {
readonly transactionId: string;
readonly outputIndex: number;
readonly value: bigint;
readonly scriptPubKey: ScriptPubKey;
readonly nonWitnessUtxo?: Buffer | string;
witnessScript?: Buffer | string;
redeemScript?: Buffer | string;
isCSV?: boolean;
constructor(iUTXO: IUTXO, isCSV?: boolean);
}
export type UTXOs = UTXO[];