Dash
getindexinfo10 créditos
Returns the status of available indices
Parâmetros
| Nome | Tipo | Descrição |
|---|---|---|
| index_name | string | Only return this index (for example txindex, coinstatsindex, basic block filter index). Default is all running indexes. (opcional) |
Retorno
Tipo
Object
Object keyed by index name with synced (boolean) and best_block_height.
Exemplos 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": []
}'