getindexinfo

Back to util

Summary

Returns the status of one or all available indices currently running in the node.

Description

Returns the status of one or all available indices currently running in the node.

Arguments

  • index_name (STR): Filter results for an index with a specific name.

Results

  • value (OBJ_DYN): No description.
  • name (OBJ): The name of the index
    • synced (BOOL): Whether the index is synced or not
    • best_block_height (NUM): The block height to which the index is synced

Examples

qbit-cli getindexinfo
curl --user myusername --data-binary '{"jsonrpc": "2.0", "id": "curltest", "method": "getindexinfo", "params": []}' -H 'content-type: application/json' http://127.0.0.1:8352/
qbit-cli getindexinfo txindex
curl --user myusername --data-binary '{"jsonrpc": "2.0", "id": "curltest", "method": "getindexinfo", "params": [txindex]}' -H 'content-type: application/json' http://127.0.0.1:8352/