UNPKG

opnet

Version:

The perfect library for building Bitcoin-based applications.

14 lines (13 loc) 481 B
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; constructor(iUTXO: IUTXO); } export type UTXOs = UTXO[];