import { TransactionSuccessStatus } from "../../types/genericMccTypes"; import { IUtxoGetTransactionRes } from "../../types/utxoTypes"; import { AddressAmount, BalanceDecreasingSummaryResponse, PaymentNonexistenceSummaryResponse, PaymentSummaryProps, PaymentSummaryResponse, TransactionBase } from "../TransactionBase"; export type UtxoTransactionTypeOptions = "coinbase" | "payment"; export declare abstract class UtxoTransaction extends TransactionBase { protected get data(): IUtxoGetTransactionRes; get txid(): string; get stdTxid(): string; get reference(): string[]; get stdPaymentReference(): string; get unixTimestamp(): number; get sourceAddresses(): (string | undefined)[]; get receivingAddresses(): (string | undefined)[]; abstract get elementaryUnitsExponent(): number; /** * Returns value in minimal devisable units * @param value is stored in decimal with 1 representing the basic unit (BTC) * @returns */ toBigIntValue(value: number | string | undefined): bigint; get fee(): bigint; get feeSignerTotalAmount(): AddressAmount; get spentAmounts(): AddressAmount[]; get intendedSpentAmounts(): AddressAmount[]; get receivedAmounts(): AddressAmount[]; get intendedReceivedAmounts(): AddressAmount[]; get type(): UtxoTransactionTypeOptions; get isNativePayment(): boolean; get successStatus(): TransactionSuccessStatus; paymentSummary({ inUtxo, outUtxo }: PaymentSummaryProps): PaymentSummaryResponse; balanceDecreasingSummary(sourceAddressIndicator: string): BalanceDecreasingSummaryResponse; paymentNonexistenceSummary(outUtxo: number): PaymentNonexistenceSummaryResponse; /** * Asserts whether the vin index is in valid range. If not, exception is thrown. * @param vinIndex vin index */ assertValidVinIndex(vinIndex: number | bigint): void; /** * Asserts whether the vout index is in valid range. If not, exception is thrown. * @param voutIndex vout index */ assertValidVoutIndex(voutIndex: number | bigint): void; } //# sourceMappingURL=UtxoTransaction.d.ts.map