Skip to main content

dag_getHeads RPC Method

Loading...

Updated on
Apr 06, 2026

dag_getHeads RPC Method

Parameters

This method does not accept any parameters

Returns

This method returns nothing
Request
1
curl -X POST "https://docs-demo.fantom.quiknode.pro/" \
2
-H "Content-Type: application/json" \
3
-d '{
4
"jsonrpc": "2.0",
5
"method": "dag_getHeads",
6
"params": [],
7
"id": 1
8
}'
1
curl -X POST "https://docs-demo.fantom.quiknode.pro/" \
2
-H "Content-Type: application/json" \
3
-d '{
4
"jsonrpc": "2.0",
5
"method": "dag_getHeads",
6
"params": [],
7
"id": 1
8
}'
Response
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": [
5
"0x0000000000000000000000000000000000000000000000000000000000000000"
6
]
7
}
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": [
5
"0x0000000000000000000000000000000000000000000000000000000000000000"
6
]
7
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free