v1

latestOpenAPI 3.0.3Apache-2.02026-07-1348142206.6 KB
network

Get the network exchange rate to estimate costs

Returns the network's exchange rate, current and next.

get/api/v1/network/exchangerate

Query parameters

timestampstring[]

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

timestampstring

A Unix timestamp in seconds.nanoseconds format

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"
}