Skip to main content

/api/v1/network/fees REST API Endpoint

Get the network fees

Updated on
Aug 23, 2024

/api/v1/network/fees REST API Endpoint

Please note that this method is currently available only on the testnet and will be accessible on the mainnet soon.

Query Parameters

order
string
The order in which items are listed (asc or desc)
timestamp
array
The consensus timestamp as a Unix timestamp in seconds.nanoseconds format with an optional comparison operator

Returns

fees
array
An array of objects, each representing the gas fee for a specific transaction type
gas
integer
The amount of gas required for the transaction type
transaction_type
string
The type of transaction
timestamp
string
The timestamp when the fee information was retrieved
Request
1
curl 'https://docs-demo.hedera-mainnet.quiknode.pro/api/v1/network/fees'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free