/// import { EnvelopeEvidenceApi, MapiResponseApi, TscMerkleProofApi } from "cwi-base"; /** * Defines the structure of a UTXO in Confederacy */ export declare class Output { txid: string; vout: number; outputScript: Buffer | string; satoshis: number; rawTx: string; spent?: boolean | undefined; topic?: string | undefined; proof?: TscMerkleProofApi | undefined; mapiResponses?: MapiResponseApi[] | undefined; inputs?: Record | undefined; utxosConsumed?: string | undefined; history?: Output[] | undefined; id?: number | undefined; consumedBy?: string | undefined; /** * * @param {string} txid - the transactionId of the transaction this UTXO is apart of * @param {number} vout - index of the output * @param {Buffer | string} outputScript - the outputScript data for the given UTXO * @param {string} topic - the topic this UTXO is apart of * @param {number} satoshis - amount of this UTXO * @param {string} rawTx - the raw transaction data * @param {boolean} spent - indicates whether this output has been spent * @param {string} proof - SPV envelope for the associated transaction * @param {string} mapiResponses - mapi responses from miners for the associated transaction * @param {string} inputs - a structure containing the inputs for the transaction this output is apart of * @param {string} utxosConsumed - a stringified array that represents the outputs consumed by this UTXO * @param {Output[]} history - all previous outputs apart of this UTXO's history to n depth * @param {number} id - the id of the output database entry */ constructor(txid: string, vout: number, outputScript: Buffer | string, satoshis: number, rawTx: string, spent?: boolean | undefined, topic?: string | undefined, proof?: TscMerkleProofApi | undefined, mapiResponses?: MapiResponseApi[] | undefined, inputs?: Record | undefined, utxosConsumed?: string | undefined, history?: Output[] | undefined, id?: number | undefined, consumedBy?: string | undefined); } //# sourceMappingURL=Output.d.ts.map