getindexinfo

getindexinfo ( "index_name" )

eturns the status of one or all currently running indices on the node.

Argument #1 – index_name

Type: string, optional

Filter results for an index with a specific name.

Result

{                               (json object)
  "name" : {                    (json object) The name of the index
    "synced" : true|false,      (boolean) Whether the index is synced or not
    "best_block_height" : n     (numeric) The block height to which the index is synced
  }
}

Examples

bitcoinevo-cli getindexinfo
curl --user myusername --data-binary '{"jsonrpc": "1.0", "id": "curltest", "method": "getindexinfo", "params": []}' -H 'content-type: text/plain;' http://127.0.0.1:7332/
bitcoinevo-cli getindexinfo txindex
curl --user myusername --data-binary '{"jsonrpc": "1.0", "id": "curltest", "method": "getindexinfo", "params": [txindex]}' -H 'content-type: text/plain;' http://127.0.0.1:7332/