Class GetAggregatePriceResponse
Response expected from a GetAggregatePriceRequest.
Inherited Members
Namespace: Xrpl.Models.Methods
Assembly: Xrpl.dll
Syntax
public class GetAggregatePriceResponse : BaseMethodResult
Properties
| Edit this page View SourceEntireSet
The statistics over every price collected.
Declaration
[JsonPropertyName("entire_set")]
public AggregatePriceSet EntireSet { get; set; }
Property Value
| Type | Description |
|---|---|
| AggregatePriceSet |
LedgerCurrentIndex
The ledger index of the open ledger used, when the request read the current ledger.
Declaration
[JsonPropertyName("ledger_current_index")]
public uint? LedgerCurrentIndex { get; set; }
Property Value
| Type | Description |
|---|---|
| uint? |
LedgerHash
The hash of the closed ledger used, when the request read one.
Declaration
[JsonPropertyName("ledger_hash")]
public string LedgerHash { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
LedgerIndex
The ledger index of the closed ledger used, when the request read one.
Declaration
[JsonPropertyName("ledger_index")]
public uint? LedgerIndex { get; set; }
Property Value
| Type | Description |
|---|---|
| uint? |
Median
The median of the prices collected, as the decimal string the node returns.
Declaration
[JsonPropertyName("median")]
public string Median { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Time
The most recent LastUpdateTime among the prices collected (UTC). The node sends it in
seconds since the Unix epoch, as the Oracle object holds it, not the Ripple epoch.
Declaration
[JsonPropertyName("time")]
[JsonConverter(typeof(UnixDateTimeConverter))]
public DateTime? Time { get; set; }
Property Value
| Type | Description |
|---|---|
| Nullable |
TrimmedSet
The statistics over the prices left after trimming. Present only when the request set Trim.
Declaration
[JsonPropertyName("trimmed_set")]
public AggregatePriceSet TrimmedSet { get; set; }
Property Value
| Type | Description |
|---|---|
| AggregatePriceSet |
Validated
True if the data comes from a validated ledger version.
Declaration
[JsonPropertyName("validated")]
public bool? Validated { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |