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 authorize your account to use the APIs.

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"
}