Network
Overview
The Network Object in the Hedera Mirror Node REST API allows developers to query network-related information, such as network supply, fees, exchange rates, and node details. These object are essential for monitoring network status, estimating transaction costs, and retrieving staking information.
Endpoints
The following endpoints are available for the Network object:
GET /api/v1/network/supply
Retrieves the current total supply of HBAR.
GET /api/v1/network/fees
Fetches the latest transaction fee schedules.
GET /api/v1/network/exchangerate
Retrieves exchange rates to estimate transaction costs.
GET /api/v1/network/nodes
Lists the network address book nodes.
GET /api/v1/network/stake
Fetches staking-related information.
Network
Get the network supply
Returns the network's released supply of hbars
/api/v1/network/supply
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.
Get the network fees
Returns the estimated gas in tinybars per each transaction type. Default order is ASC. Currently only ContractCall
, ContractCreate
and EthereumTransaction
transaction types are supported.
/api/v1/network/fees
The order in which items are listed
desc
asc
, desc
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.
Get the network exchange rate to estimate costs
Returns the network's exchange rate, current and next.
/api/v1/network/exchangerate
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.
Get the network address book nodes
Returns the network's list of nodes used in consensus
/api/v1/network/nodes
The ID of the file entity
^((gte?|lte?|eq|ne)\:)?(\d{1,10}\.\d{1,10}\.)?\d{1,10}$
The maximum number of items to return
2
The ID of the node
^((eq|gt|gte|lt|lte):)?\d{1,19}$
The order in which items are listed
desc
asc
, desc
Get network stake information
Returns the network's current stake information.
/api/v1/network/stake
Last updated
Was this helpful?