The IRevealTransactionResult contains the result from the reveal transaction.
IRevealTransactionResult
Overview
The IRevealTransactionResult interface represents the result of a CHCT reveal transaction. It includes the signed transaction hex, transaction ID, total data revealed, fees paid, and number of inputs spent.
The full source code is available on GitHub at IConsolidatedTransactionParameters.ts.
Import
import { IRevealTransactionResult } from '@btc-vision/transaction';Interface
Signature
interface IRevealTransactionResult {
readonly txHex: string;
readonly txId: string;
readonly dataSize: number;
readonly feesPaid: bigint;
readonly inputCount: number;
}Description
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| txHex | string | Yes | The signed transaction hex. |
| txId | string | Yes | Transaction ID. |
| dataSize | number | Yes | Total data revealed in bytes. |
| feesPaid | bigint | Yes | Fees paid in satoshis. |
| inputCount | number | Yes | Number of inputs spent. |