Zcash
getdeploymentinfo8 크레딧
소프트포크 배포 상태를 반환합니다.
매개변수
| 이름 | 타입 | 설명 |
|---|---|---|
| blockhash | string | 배포 상태를 조회할 블록 해시. 기본값은 체인 tip. (선택) |
반환값
타입
Object
조회한 블록의 hash와 height, 그리고 deployments: 배포 이름을 키로 하는 객체이며 type(buried 또는 bip9), active, height(buried 또는 active 배포의 경우), 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"
]
}'