FinalizedTxData
Midnight.js API Reference v3.1.0
Midnight.js API Reference / @midnight-ntwrk/midnight-js-types / FinalizedTxData
Interface: FinalizedTxData
Data for any finalized transaction.
Properties
blockAuthor
readonlyblockAuthor:string|null
The author of the block in which the transaction was included.
blockHash
readonlyblockHash:string
The block hash of the block in which the transaction was included.
blockHeight
readonlyblockHeight:number
The block height of the block in which the transaction was included.
blockTimestamp
readonlyblockTimestamp:number
The timestamp of the block in which the transaction was included.
fees
readonlyfees:Fees
The fees associated with the transaction, including both paid and estimated fees.
identifiers
readonlyidentifiers: readonlystring[]
All transaction IDs of the submitted transaction.
indexerId
readonlyindexerId:number
The indexer internal db ID.
protocolVersion
readonlyprotocolVersion:number
The protocol version of the transaction.
segmentStatusMap
readonlysegmentStatusMap:Map<number,SegmentStatus> |undefined
The map that associates segment identifiers (numbers) with their corresponding status SegmentStatus. The segment identifier is represented as a number (key in the map), and the status indicates the success or failure of the transaction update.
status
readonlystatus:TxStatus
The status of a submitted transaction.
tx
readonlytx:Transaction<SignatureEnabled,Proof,Binding>
The transaction that was finalized.
txHash
readonlytxHash:string
The transaction hash of the transaction in which the original transaction was included.
txId
readonlytxId:string
One of the transaction ID of the submitted transaction.
unshielded
readonlyunshielded:UnshieldedUtxos
Represents the unshielded outputs, typically used for transactions or operations involving data or values that are not encrypted or concealed.