Get Network Fees

Get the network fees.

This method will use 20 Compute Units.


Get the network fees

get

Returns the estimated gas in tinybars per each transaction type. Default order is ASC. Currently only ContractCall, ContractCreate and EthereumTransaction transaction types are supported.

Query parameters
orderundefined · enumOptional

The order in which items are listed

Default: ascExample: descPossible values:
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/fees HTTP/1.1
Host: mainnet.hedera.validationcloud.io
Accept: */*
{
  "fees": [
    {
      "gas": 1,
      "transaction_type": "text"
    }
  ],
  "timestamp": "1586567700.453054000"
}

Last updated

Was this helpful?