Get Exchange Rate

Get the network exchange rate to estimate costs.

This method will use 20 Compute Units.


Get the network exchange rate to estimate costs

get

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

Query parameters
timestampstring[]Optional

The consensus timestamp in seconds.nanoseconds format with an optional comparison operator

Example: {"summary":"--","value":""}
Responses
200
OK
application/json
get
GET /v1/YOUR_API_KEY/api/v1/network/exchangerate HTTP/1.1
Host: mainnet.hedera.validationcloud.io
Accept: */*
{
  "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"
}

Last updated

Was this helpful?