Skip to main content

Get the busy threshold

Returns the busy threshold for the specified blockchain network.

For example, a busyThreshold value of 30 GWEI indicates that 90% of the historical base fees on the network have been below 30 GWEI. If the current base fee exceeds this value, it suggests that the network is busier than usual, likely due to a high volume of transactions.

GET https://gas.api.infura.io/networks/${chainId}/busyThreshold

Parameters

Path:

  • chainId: string - ID of the chain to query.

Returns

busyThreshold: string - Indicates that 90% of the historical base fees on the network have been below this threshold, serving as a marker of network congestion when current base fees exceed it.

Example

Request

Include your API key and optional API key secret to use the API.

tip

You can call the API with only an API key, and include it as a path parameter instead of using the cURL authentication option (-u).

curl -X 'GET' \
-u <API-KEY>:<API-KEY-SECRET> \
'https://gas.api.infura.io/networks/1/busyThreshold'

Response

{
"busyThreshold": "37.378956101"
}