Dash
getindexinfoКредиты: 10
Returns the status of available indices
Параметры
| Имя | Тип | Описание |
|---|---|---|
| index_name | string | Only return this index (for example txindex, coinstatsindex, basic block filter index). Default is all running indexes. (необязательно) |
Результат
Тип
Object
Object keyed by index name with synced (boolean) and best_block_height.
Примеры кода
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": []
}'