Skip to main content

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
FieldTypeDescription
hbarEquivDenominator in calculation of exchange rate between hbar and cents
centEquivNumerator in calculation of exchange rate between hbar and cents
expirationTimeTimestampSecondsExpiration time in seconds for this exchange rate

ExchangeRateSet

Two sets of exchange rate
FieldTypeDescription
currentRateExchangeRateCurrent exchange rate
nextRateExchangeRateNext exchange rate which will take effect when current rate expires