Zcash
getchainstates8 kredi
Mevcut chainstate durumunu döndürür (assumeutxo)
Parametreler
Parametre gerekmez (boş params dizisi).
Dönüş değeri
Tür
Object
headers (görülen başlık sayısı) ve chainstates; iş miktarına göre sıralanmış, aktif olan sonda olmak üzere chainstate nesneleri dizisi: blocks, bestblockhash, bits, target, difficulty, verificationprogress, snapshot_blockhash (yalnızca snapshot chainstate değerleri için), coins_db_cache_bytes, coins_tip_cache_bytes, validated.
Kod örnekleri
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": "getchainstates",
"params": []
}'