Show / Hide Table of Contents

Class GetAggregatePriceResponse

Response expected from a GetAggregatePriceRequest.

Inheritance
object
BaseMethodResult
GetAggregatePriceResponse
Inherited Members
BaseMethodResult.UnknownFields
Namespace: Xrpl.Models.Methods
Assembly: Xrpl.dll
Syntax
public class GetAggregatePriceResponse : BaseMethodResult

Properties

| Edit this page View Source

EntireSet

The statistics over every price collected.

Declaration
[JsonPropertyName("entire_set")]
public AggregatePriceSet EntireSet { get; set; }
Property Value
Type Description
AggregatePriceSet
| Edit this page View Source

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?
| Edit this page View Source

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
| Edit this page View Source

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?
| Edit this page View Source

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
| Edit this page View Source

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
| Edit this page View Source

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
| Edit this page View Source

Validated

True if the data comes from a validated ledger version.

Declaration
[JsonPropertyName("validated")]
public bool? Validated { get; set; }
Property Value
Type Description
bool?
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX