Skip to main content

erigon_forks RPC Method

Fetches the details of blockchain forks, including genesis block hash, height forks, and time forks.

Updated on
Jun 4, 2024

erigon_forks RPC Method

Parameters

This method does not accept any parameters

Returns

genesis
string
The genesis block hash
heightForks
array
A list of block heights where forks occurred
timeForks
array
A list of timestamps where forks occurred
Request
1
curl --location 'https://docs-demo.xdai.quiknode.pro/' \
2
--header 'Content-Type: application/json' \
3
--data '{
4
"method": "erigon_forks",
5
"params": [],
6
"id": 1,
7
"jsonrpc": "2.0"
8
}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free