Class TransactionRecord
The detailed results of a network request after consensus has been reached, extending the TransactionReceipt with the transaction hash, consensus timestamp, fee charged, and the full set of hBar, token, NFT, royalty and staking-reward transfers it produced.
Inheritance
Inherited Members
Namespace: Hiero
Assembly: Hiero.dll
Syntax
public record TransactionRecord : TransactionReceipt, IEquatable<TransactionReceipt>, IEquatable<TransactionRecord>
Properties
| Edit this page View SourceAssociations
A list of token associations that were created as a result of this transaction.
Declaration
public IReadOnlyList<Association> Associations { get; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyList<Association> |
Consensus
The consensus timestamp.
Declaration
public ConsensusTimeStamp? Consensus { get; }
Property Value
| Type | Description |
|---|---|
| ConsensusTimeStamp? |
Fee
The fee that was charged by the network for processing the transaction and generating associated receipts and records.
Declaration
public ulong Fee { get; }
Property Value
| Type | Description |
|---|---|
| ulong |
Hash
Hash of the Transaction.
Declaration
public ReadOnlyMemory<byte> Hash { get; }
Property Value
| Type | Description |
|---|---|
| ReadOnlyMemory<byte> |
Memo
The memo that was submitted with the transaction request.
Declaration
public string Memo { get; }
Property Value
| Type | Description |
|---|---|
| string |
NftTransfers
A list of asset transfers to and from accounts associated with the records represented by this transaction.
Declaration
public IReadOnlyList<NftTransfer> NftTransfers { get; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyList<NftTransfer> |
ParentTransactionConsensus
If this record represents a child transaction, the consensus timestamp of the parent transaction to this transaction, otherwise null.
Declaration
public ConsensusTimeStamp? ParentTransactionConsensus { get; }
Property Value
| Type | Description |
|---|---|
| ConsensusTimeStamp? |
Royalties
A list of token transfers applied by the network as royalties for executing the original transaction. Typically in the form of royalties for transferring custom tokens and assets as defined by the respective token definition's fees.
Declaration
public IReadOnlyList<RoyaltyTransfer> Royalties { get; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyList<RoyaltyTransfer> |
StakingRewards
A List of account staking rewards paid as a result of this transaction.
Declaration
public ReadOnlyDictionary<EntityId, long> StakingRewards { get; }
Property Value
| Type | Description |
|---|---|
| ReadOnlyDictionary<EntityId, long> |
TokenTransfers
A list of token transfers to and from accounts associated with the records represented by this transaction.
Declaration
public IReadOnlyList<TokenTransfer> TokenTransfers { get; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyList<TokenTransfer> |
Transfers
A map of tinybar transfers to and from accounts associated with the records represented by this transaction, keyed by account (including the Payer that funded the transaction).
Declaration
public ReadOnlyDictionary<EntityId, long> Transfers { get; }
Property Value
| Type | Description |
|---|---|
| ReadOnlyDictionary<EntityId, long> |
TreasuryTransfer
If the transaction affected a change in treasury for an NFT token it will be identified here. It does not indicate which serial numbers of NFTs were transferred to the new treasury, just that all of the NFTs held by the previously designated treasury are now owned by the new treasury.
Declaration
public TreasuryTransfer? TreasuryTransfer { get; }
Property Value
| Type | Description |
|---|---|
| TreasuryTransfer |