PreçosGitHubPainel

Bitcoin

getindexinfo10 créditos

Returns the status of available indices

Rede: bitcoin

Parâmetros

NomeTipoDescrição
index_namestringOnly 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-bitcoin-mainnet.rpcnode.dev/7c9e6679-7425-40de-944b-e07fc1f90ae7 \
  -X POST \
  -H 'content-type: application/json' \
  -d '{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "getindexinfo",
  "params": []
}'