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
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Hedera protobuf reference for the ExchangeRate message describing the HBAR to USD cents conversion rate and expiration used for fee calculations on Hedera.
1 hbar = (centEquiv / hbarEquiv) USD cents
| Field | Type | Description |
|---|---|---|
centEquiv | uint64 | Numerator in calculation of exchange rate between hbar and cents |
hbarEquiv | uint64 | Denominator in calculation of exchange rate between hbar and cents |
expirationTime | TimestampSeconds | Expiration time in seconds for this exchange rate |
| Field | Type | Description |
|---|---|---|
currentRate | ExchangeRate | Current exchange rate |
nextRate | ExchangeRate | Next exchange rate which will take effect when current rate expires |
Was this page helpful?