Class RateData
A single HBAR-to-USD exchange rate, expressed as the ratio of HbarEquivalent hbar to CentEquivalent US cents.
Inherited Members
Namespace: Hiero.Mirror
Assembly: Hiero.dll
Syntax
public class RateData
Properties
| Edit this page View SourceCentEquivalent
The US-cent side of the exchange-rate ratio — the number of cents equivalent to HbarEquivalent hbar.
Declaration
[JsonPropertyName("cent_equivalent")]
[JsonConverter(typeof(IntMirrorConverter))]
public int CentEquivalent { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Expiration
The consensus time at which this exchange rate expires and the next rate takes effect.
Declaration
[JsonPropertyName("expiration_time")]
[JsonConverter(typeof(ConsensusTimeStampForExchangeRateConverter))]
public ConsensusTimeStamp Expiration { get; set; }
Property Value
| Type | Description |
|---|---|
| ConsensusTimeStamp |
HbarEquivalent
The hbar side of the exchange-rate ratio — the number of whole hbar equivalent to CentEquivalent cents.
Declaration
[JsonPropertyName("hbar_equivalent")]
[JsonConverter(typeof(IntMirrorConverter))]
public int HbarEquivalent { get; set; }
Property Value
| Type | Description |
|---|---|
| int |