Class TransactionRecord
The details returned from the network after consensus has been reached for a network request.
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. Payer.
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 NFTs held by the previously designated treasury are new owned by the new treasury.
Declaration
public TreasuryTransfer? TreasuryTransfer { get; }
Property Value
| Type | Description |
|---|---|
| TreasuryTransfer |