Class BaseTransactionResponse
Supports all classes in the .NET class hierarchy and provides low-level services to derived classes. This is the ultimate base class of all .NET classes; it is the root of the type hierarchy.
Implements
Namespace: Xrpl.Models.Transactions
Assembly: Xrpl.dll
Syntax
public class BaseTransactionResponse : IBaseTransactionResponse
Properties
| Edit this page View SourceCloseTimeIso
The ledger close time represented in ISO 8601 time format.
Declaration
[JsonConverter(typeof(FromStringDateTimeConverter))]
[JsonPropertyName("close_time_iso")]
public DateTime? CloseTimeIso { get; set; }
Property Value
| Type | Description |
|---|---|
| Nullable |
Remarks
rippled attaches this directly to the transaction object on tx/account_tx
responses regardless of API version — API v1 flattens the whole response onto the
transaction, and API v2's account_tx nests it inside tx_json alongside
ctid (unlike the singular tx method, where it sits beside tx_json
instead — see CloseTimeIso).
Ctid
The compact transaction identifier of this transaction, when rippled reports one.
Declaration
[JsonPropertyName("ctid")]
public string? Ctid { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
New in rippled 1.12.0. rippled nests this inside the transaction object itself on
account_tx — see the remark on CloseTimeIso for why that placement
differs from the singular tx method's Ctid.
Date
The date/time when this transaction was included in a validated ledger.
Declaration
[JsonConverter(typeof(RippleDateTimeConverter))]
[JsonPropertyName("date")]
public DateTime? Date { get; set; }
Property Value
| Type | Description |
|---|---|
| Nullable |
Hash
An identifying hash value unique to this transaction, as a hex string.
Declaration
[JsonPropertyName("hash")]
public string Hash { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
InLedger
Declaration
[JsonPropertyName("inLedger")]
public uint? InLedger { get; set; }
Property Value
| Type | Description |
|---|---|
| uint? |
LedgerIndex
The sequence number of the ledger that included this transaction.
Declaration
[JsonPropertyName("ledger_index")]
public uint? LedgerIndex { get; set; }
Property Value
| Type | Description |
|---|---|
| uint? |
UnknownFields
Members of this transaction response that no declared property claims — for example
a field a new amendment adds before this SDK models it. Populated on
every derived *Response type, and reached whether the response is deserialized directly
or through TransactionResponseConverter: that
converter only picks the concrete .NET type from TransactionType; the field-level
read is the ordinary reflection-based deserializer, which is what honors this attribute.
Declaration
[JsonExtensionData]
public Dictionary<string, JsonElement> UnknownFields { get; set; }
Property Value
| Type | Description |
|---|---|
| Dictionary<string, JsonElement> |
Remarks
This is not a substitute for XrplResponse<T>.Raw: values here have already
gone through JSON parsing (numbers, strings, nested objects as System.Text.Json.JsonElement),
while Raw is the exact bytes the node sent. Use Raw when byte-for-byte
fidelity matters (verifying what a node actually said); use this when a caller just needs
to read a field the model does not yet declare.
Validated
Declaration
[JsonPropertyName("validated")]
public bool? Validated { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |