PreciosGitHubPanel

Dash

getindexinfo10 créditos

Returns the status of available indices

Red: dash

Parámetros

NombreTipoDescripción
index_namestringOnly return this index (for example txindex, coinstatsindex, basic block filter index). Default is all running indexes. (opcional)

Valor devuelto

Tipo

Object

Object keyed by index name with synced (boolean) and best_block_height.

Ejemplos de código

curl https://holy-burned-sky-dash-mainnet.rpcnode.dev/7c9e6679-7425-40de-944b-e07fc1f90ae7 \
  -X POST \
  -H 'content-type: application/json' \
  -d '{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "getindexinfo",
  "params": []
}'