ExchangeRate
An exchange rate between hbar and cents (USD) and the time at which the exchange rate will expire, and be superseded by a new exchange rate.The price is computed as follow:
1 hbar = (centEquiv / hbarEquiv) USD cents
| Field | Type | Description |
|---|---|---|
hbarEquiv | Denominator in calculation of exchange rate between hbar and cents | |
centEquiv | Numerator in calculation of exchange rate between hbar and cents | |
expirationTime | TimestampSeconds | Expiration time in seconds for this exchange rate |
ExchangeRateSet
Two sets of exchange rate| Field | Type | Description |
|---|---|---|
currentRate | ExchangeRate | Current exchange rate |
nextRate | ExchangeRate | Next exchange rate which will take effect when current rate expires |