Get the network exchange rate to estimate costs
Returns the network's exchange rate, current and next.
Query parameters
The consensus timestamp as a Unix timestamp in seconds.nanoseconds format with an optional comparison operator. See unixtimestamp.com for a simple way to convert a date to the 'seconds' part of the Unix time.
Response
OK
Example response
{
"current_rate": {
"cent_equivalent": 596987,
"expiration_time": 1649689200,
"hbar_equivalent": 30000
},
"next_rate": {
"cent_equivalent": 596987,
"expiration_time": 1649689200,
"hbar_equivalent": 30000
},
"timestamp": "1586567700.453054000"
}Changes
Changed in 1 of the 53 revisions of this API.6
- ▲
the response property
_status/messages/items/databecame nullable for the status400response-property-became-nullable
- ▲
the response property
_status/messages/items/databecame nullable for the status404response-property-became-nullable
- ▲
the response property
_status/messages/items/databecame nullable for the status500response-property-became-nullable
- ▲
the response property
_status/messages/items/detailbecame nullable for the status400response-property-became-nullable
- ▲
the response property
_status/messages/items/detailbecame nullable for the status404response-property-became-nullable
- ▲
the response property
_status/messages/items/detailbecame nullable for the status500response-property-became-nullable
This revision also has 22 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲