Get Network Fees
Get the network fees.
This method will use 20
Compute Units.
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 · enumOptionalDefault:
The order in which items are listed
asc
Example: desc
Possible values: timestampstring[]OptionalExample:
The consensus timestamp in seconds.nanoseconds format with an optional comparison operator
{"summary":"--","value":""}
Responses
200
OK
application/json
400
Invalid parameter
application/json
404
Not Found
application/json
500
Service Unavailable
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?