Skip to main content

getindexinfo RPC Method

Returns the status of one or all available indexes actively running in the node.

Updated on
Oct 4, 2023

getindexinfo RPC Method

Parameters

index_name
string
It filters results for an index with a specific name

Returns

txindex
The index name
synced
It states whether the index is synced or not
best_block_height
The height of the block to which the index is synced
error
The error message, if any
Request
1
curl https://docs-demo.btc.quiknode.pro/ \
2
-X POST \
3
-H "Content-Type: application/json" \
4
--data '{ "method": "getindexinfo" }'
5
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free