PreiseGitHubDashboard

Zcash

getdeploymentinfo8 Credits

Gibt den Status der Softfork-Deployments zurück

Netzwerk: zcash

Parameter

NameTypBeschreibung
blockhashstringBlock-Hash, bei dem der Deployment-Zustand abgefragt wird. Standard ist der Chain-Tip. (optional)

Rückgabewert

Typ

Object

hash und height des abgefragten Blocks sowie deployments: ein nach Deployment-Namen geordnetes Objekt mit type (buried oder bip9), active, height (für buried oder aktive Deployments) und, bei bip9, einem bip9-Objekt mit bit, start_time, timeout, min_activation_height, status, since, status_next und statistics.

Codebeispiele

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