Class TransactionData
Represents a transaction retrieved from a mirror node.
Inherited Members
Namespace: Hiero.Mirror
Assembly: Hiero.dll
Syntax
public class TransactionData
Properties
| Edit this page View SourceConsensus
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> |
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 |
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 StakingRewardData[]? StakingRewards { get; set; }
Property Value
| Type | Description |
|---|---|
| StakingRewardData[] |
Status
The Status Code of this transaction
Declaration
[JsonPropertyName("result")]
public string Status { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
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 |