Skip to main content

getchaintips RPC Method

Returns information about all known chaintips in the block tree, including the main chain as well as orphaned branches.

Updated on
Feb 04, 2026

Parameters

This method does not accept any parameters

Returns

result
array

Array of chain tip objects

height
integer

The height of the chain tip

hash
string

The block hash of the tip

branchlen
integer

Zero for main chain, otherwise length of branch connecting the tip to the main chain

status
string

The status of the chain (e.g. 'active' for main chain)

error
object | null

JSON-RPC error object when the request failed, or null on success

id
integer

The JSON-RPC request identifier

Request
Response
1
{
2
"result": [
3
{
4
"height": 936616,
5
"hash": "000000000000000000516816955012ae5d1947e12fb984c547340da216ab29f9",
6
"branchlen": 0,
7
"status": "active"
8
},
9
{
10
"height": 936520,
11
"hash": "000000000000000000ca9c7635d961a18585dc9bb2b86aef5facce98ed411c59",
12
"branchlen": 1,
13
"status": "valid-headers"
14
},
15
{
16
"height": 935516,
17
"hash": "000000000000000000e06e9be01b0360cf5c816c713d02668407b866de7809f6",
18
"branchlen": 1,
19
"status": "valid-headers"
20
},
21
{
22
"height": 930207,
23
"hash": "0000000000000000005830e435f6f6bf8bfd82e77ff1140b42a939e7aba89527",
24
"branchlen": 1,
25
"status": "valid-headers"
26
}
27
],
28
"error": null,
29
"id": 1
30
}
1
{
2
"result": [
3
{
4
"height": 936616,
5
"hash": "000000000000000000516816955012ae5d1947e12fb984c547340da216ab29f9",
6
"branchlen": 0,
7
"status": "active"
8
},
9
{
10
"height": 936520,
11
"hash": "000000000000000000ca9c7635d961a18585dc9bb2b86aef5facce98ed411c59",
12
"branchlen": 1,
13
"status": "valid-headers"
14
},
15
{
16
"height": 935516,
17
"hash": "000000000000000000e06e9be01b0360cf5c816c713d02668407b866de7809f6",
18
"branchlen": 1,
19
"status": "valid-headers"
20
},
21
{
22
"height": 930207,
23
"hash": "0000000000000000005830e435f6f6bf8bfd82e77ff1140b42a939e7aba89527",
24
"branchlen": 1,
25
"status": "valid-headers"
26
}
27
],
28
"error": null,
29
"id": 1
30
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free