TarifsGitHubTableau de bord

Zcash

getindexinfo8 crédits

Renvoie l’état des index disponibles

Réseau: zcash

Paramètres

NomTypeDescription
index_namestringRenvoie uniquement cet index (par exemple txindex, coinstatsindex, basic block filter index). Par défaut, tous les index en cours d’exécution. (facultatif)

Valeur renvoyée

Type

Object

Objet indexé par nom d’index avec synced (boolean) et best_block_height.

Exemples de code

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