UNPKG

opnet

Version:

The perfect library for building Bitcoin-based applications.

12 lines (11 loc) 408 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; constructor(iUTXO: IUTXO); } export type UTXOs = UTXO[];