요금GitHub대시보드

Zcash

getblockheader8 크레딧

블록 헤더를 반환합니다.

네트워크: zcash

매개변수

이름타입설명
blockhashstring블록 해시.
verbosebooleantrue이면 JSON 객체. (선택)

반환값

타입

Object | string

헤더.

코드 예제

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": "getblockheader",
  "params": [
    "000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f",
    true
  ]
}'