요금GitHub대시보드

Zcash

getindexinfo8 크레딧

사용 가능한 인덱스의 상태를 반환합니다.

네트워크: zcash

매개변수

이름타입설명
index_namestring이 인덱스만 반환합니다(예: txindex, coinstatsindex, basic block filter index). 기본값은 실행 중인 모든 인덱스. (선택)

반환값

타입

Object

인덱스 이름을 키로 하며 synced(boolean)와 best_block_height를 가진 객체.

코드 예제

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": []
}'