Skip to main content

Parameters

blockCount
string
required
Number of blocks to return (hex, max 1024)
newestBlock
string
required
Newest block (hex), or latest, pending
rewardPercentiles
array
Array of percentiles for priority fee sampling

Returns

feeHistory
object
Fee history object

Example

curl -X POST "https://edge.goldsky.com/standard/evm/1?secret=YOUR_SECRET" \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc": "2.0", "method": "eth_feeHistory", "params": [4, "latest", [25, 75]], "id": 1}'