Class LedgerTransaction
Inheritance
Namespace: Xrpl.Models.Ledger
Assembly: Xrpl.dll
Syntax
public class LedgerTransaction
Properties
| Edit this page View SourceCloseTimeIso
The ledger close time represented in ISO 8601 time format.
Declaration
[JsonPropertyName("close_time_iso")]
[JsonConverter(typeof(FromStringDateTimeConverter))]
public DateTime? CloseTimeIso { get; set; }
Property Value
| Type | Description |
|---|---|
| Nullable |
Hash
Unique hashed String representing the transaction.
Declaration
[JsonPropertyName("hash")]
public string Hash { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
LedgerHash
A hex string of the ledger version that included this transaction.
Declaration
[JsonPropertyName("ledger_hash")]
public string LedgerHash { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
LedgerIndex
The ledger index of the ledger version that included this transaction.
Declaration
[JsonPropertyName("ledger_index")]
public ulong? LedgerIndex { get; set; }
Property Value
| Type | Description |
|---|---|
| ulong? |
Meta
If binary is True, then this is a hex string of the transaction metadata.
Otherwise, the transaction metadata is included in JSON format.
Declaration
[JsonPropertyName("meta")]
[JsonConverter(typeof(MetaBinaryConverter))]
public Meta Meta { get; set; }
Property Value
| Type | Description |
|---|---|
| Meta |
Transaction
JSON object defining the transaction.
Declaration
[JsonPropertyName("tx_json")]
[JsonConverter(typeof(TransactionRequestConverter))]
public ITransactionRequest Transaction { get; set; }
Property Value
| Type | Description |
|---|---|
| ITransactionRequest |
UnknownFields
Members the node sent that no declared property here claims. Mirrors UnknownFields for ledger entries and UnknownFields for command results: without it, anything this model does not yet know about is dropped between the node and the caller instead of surviving the round trip.
Declaration
[JsonExtensionData]
public Dictionary<string, JsonElement> UnknownFields { get; set; }
Property Value
| Type | Description |
|---|---|
| Dictionary<string, JsonElement> |
Validated
Whether or not the transaction is included in a validated ledger.
Any transaction not yet in a validated ledger is subject to change.
Declaration
[JsonPropertyName("validated")]
public bool? Validated { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
Remarks
Structurally absent for API version <= 1: rippled's LedgerToJson.cpp only adds this
member inside the apiVersion > 1 branch of its per-transaction JSON; the legacy
v1 branch copies the flat transaction JSON and never writes it at all.