TarifsGitHubTableau de bord

Litecoin

getindexinfo10 crédits

Returns the status of available indices

Réseau: litecoin

Paramètres

NomTypeDescription
index_namestringOnly return this index (for example txindex, coinstatsindex, basic block filter index). Default is all running indexes. (facultatif)

Valeur renvoyée

Type

Object

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

Exemples de code

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