Zcash
getdeploymentinfo8 crédits
Renvoie le statut de déploiement des softforks
Paramètres
| Nom | Type | Description |
|---|---|---|
| blockhash | string | Hash du bloc auquel interroger l’état des déploiements. Par défaut, la pointe de la chaîne. (facultatif) |
Valeur renvoyée
Type
Object
hash et height du bloc interrogé, et deployments : un objet indexé par nom de déploiement avec type (buried ou bip9), active, height (pour les déploiements buried ou actifs) et, pour bip9, un objet bip9 avec bit, start_time, timeout, min_activation_height, status, since, status_next et statistics.
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": "getdeploymentinfo",
"params": [
"000000000003ba27aa200b1cecaad478d2b00432346c3f1f3986da1afd33e506"
]
}'