Class TransactionData
Represents a transaction retrieved from a mirror node.
Inherited Members
Namespace: Hiero.Mirror
Assembly: Hiero.dll
Syntax
public class TransactionData
Remarks
This is the base shape shared by the transaction list and detail endpoints. The single-transaction lookups (TransactionDetailDataExtensions) return the richer TransactionDetailData subclass, which adds assessed custom fees.
Properties
| Edit this page View SourceAssetTransfers
The individual NFT (asset) transfers carried out by this transaction. Null when the transaction moved no NFTs.
Declaration
[JsonPropertyName("nft_transfers")]
public AssetTransferData[]? AssetTransfers { get; set; }
Property Value
| Type | Description |
|---|---|
| AssetTransferData[] |
BatchEndorsement
The endorsement that must sign the enclosing atomic batch for this transaction to execute. Null unless this is an inner transaction of a batch; the outer batch transaction itself carries none.
Declaration
[JsonPropertyName("batch_key")]
public Endorsement? BatchEndorsement { get; set; }
Property Value
| Type | Description |
|---|---|
| Endorsement |
Consensus
The transaction’s consensus timestamp.
Declaration
[JsonPropertyName("consensus_timestamp")]
public ConsensusTimeStamp Consensus { get; set; }
Property Value
| Type | Description |
|---|---|
| ConsensusTimeStamp |
CreatedEntity
The address of any entity created by this transaction (such as the created account or contract)
Declaration
[JsonPropertyName("entity_id")]
public EntityId? CreatedEntity { get; set; }
Property Value
| Type | Description |
|---|---|
| EntityId |
CryptoTransfers
The list of cryptocurrency transfers associated with this transaction.
Declaration
[JsonPropertyName("transfers")]
public CryptoTransferData[]? CryptoTransfers { get; set; }
Property Value
| Type | Description |
|---|---|
| CryptoTransferData[] |
Fee
Sum of network transaction fees.
Declaration
[JsonPropertyName("charged_tx_fee")]
[JsonConverter(typeof(LongMirrorConverter))]
public long Fee { get; set; }
Property Value
| Type | Description |
|---|---|
| long |
FeeLimit
The maximum fee the payer account was willing to spend on this transaction.
Declaration
[JsonPropertyName("max_fee")]
[JsonConverter(typeof(FeeLimitFromStringConverter))]
public long FeeLimit { get; set; }
Property Value
| Type | Description |
|---|---|
| long |
GossipNode
The Hedera Gossip Node that submitted this transaction
Declaration
[JsonPropertyName("node")]
public EntityId? GossipNode { get; set; }
Property Value
| Type | Description |
|---|---|
| EntityId |
Hash
The transaction’s computed transaction hash.
Declaration
[JsonPropertyName("transaction_hash")]
[JsonConverter(typeof(Base64StringToBytesConverter))]
public ReadOnlyMemory<byte> Hash { get; set; }
Property Value
| Type | Description |
|---|---|
| ReadOnlyMemory<byte> |
HighVolume
Whether the transaction was throttled and priced as a high-volume entity creation (HIP-1313).
Declaration
[JsonPropertyName("high_volume")]
[JsonConverter(typeof(BooleanMirrorConverter))]
public bool HighVolume { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
HighVolumePricingMultiplier
The high-volume pricing multiplier applied to the transaction fee (HIP-1313), scaled by 1,000: 1,000 is 1×, 4,000 is 4×. Zero when high-volume pricing did not apply; null for transactions that predate HIP-1313.
Declaration
[JsonPropertyName("high_volume_pricing_multiplier")]
[JsonConverter(typeof(NullableLongMirrorConverter))]
public long? HighVolumePricingMultiplier { get; set; }
Property Value
| Type | Description |
|---|---|
| long? |
IsScheduled
Flag indicating that this was a scheduled transaction.
Declaration
[JsonPropertyName("scheduled")]
[JsonConverter(typeof(BooleanMirrorConverter))]
public bool IsScheduled { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
MaxCustomFees
The limits the payer placed on the custom fees this transaction could be charged (HIP-991), one per fee denomination. Empty when the payer set none.
Declaration
[JsonPropertyName("max_custom_fees")]
public CustomFeeLimitData[]? MaxCustomFees { get; set; }
Property Value
| Type | Description |
|---|---|
| CustomFeeLimitData[] |
Memo
The memo that was attached to this transaction
Declaration
[JsonPropertyName("memo_base64")]
[JsonConverter(typeof(Base64StringToBytesConverter))]
public ReadOnlyMemory<byte> Memo { get; set; }
Property Value
| Type | Description |
|---|---|
| ReadOnlyMemory<byte> |
Nonce
The nonce of the transaction (if it is a child tx)
Declaration
[JsonPropertyName("nonce")]
[JsonConverter(typeof(LongMirrorConverter))]
public long Nonce { get; set; }
Property Value
| Type | Description |
|---|---|
| long |
ParentConsensus
The consensus timestamp of this transaction's parent transaction (if this is a child transaction)
Declaration
[JsonPropertyName("parent_consensus_timestamp")]
public ConsensusTimeStamp? ParentConsensus { get; set; }
Property Value
| Type | Description |
|---|---|
| ConsensusTimeStamp? |
StakingRewards
Enumerates any staking rewards attached to this transaction.
Declaration
[JsonPropertyName("staking_reward_transfers")]
public StakingRewardTransferData[]? StakingRewards { get; set; }
Property Value
| Type | Description |
|---|---|
| StakingRewardTransferData[] |
Status
The Status Code of this transaction.
Declaration
[JsonPropertyName("result")]
public ResponseCode Status { get; set; }
Property Value
| Type | Description |
|---|---|
| ResponseCode |
Remarks
A status the network reports but this build of the SDK does not know reads as Unrecognized rather than failing the surrounding query.
TokenTransfers
Enumerates the tokens that were transferred as a part of this transaction.
Declaration
[JsonPropertyName("token_transfers")]
public TokenTransferData[]? TokenTransfers { get; set; }
Property Value
| Type | Description |
|---|---|
| TokenTransferData[] |
TransactionId
The unique identifier for this transaction.
Declaration
[JsonPropertyName("transaction_id")]
[JsonConverter(typeof(TransactionIdMirrorConverter))]
public TransactionId TransactionId { get; set; }
Property Value
| Type | Description |
|---|---|
| TransactionId |
TransactionType
The identified type of the transaction.
Declaration
[JsonPropertyName("name")]
public string? TransactionType { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ValidDuration
The valid time to live in seconds for the transaction.
Declaration
[JsonPropertyName("valid_duration_seconds")]
[JsonConverter(typeof(ValidDurationInSecondsConverter))]
public TimeSpan ValidDuration { get; set; }
Property Value
| Type | Description |
|---|---|
| TimeSpan |
ValidStarting
The transaction's valid starting timestamp.
Declaration
[JsonPropertyName("valid_start_timestamp")]
public ConsensusTimeStamp ValidStarting { get; set; }
Property Value
| Type | Description |
|---|---|
| ConsensusTimeStamp |