Zcash
getdeploymentinfo8クレジット
softfork デプロイのステータスを返します
パラメータ
| 名前 | 型 | 説明 |
|---|---|---|
| blockhash | string | デプロイ状態を照会するブロックハッシュ。デフォルトはチェーン tip。 (任意) |
戻り値
型
Object
照会したブロックの hash と height、および deployments:デプロイ名をキーとするオブジェクトで、type(buried または bip9), active, height(buried またはアクティブなデプロイの場合)を持ちます。bip9 の場合は、bit, start_time, timeout, min_activation_height, status, since, status_next, statistics を持つ bip9 オブジェクトも含みます。
コード例
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"
]
}'