文档
定价GitHub控制台

Litecoin

getdeploymentinfo15 额度

Returns softfork deployment status

网络: litecoin

参数

名称类型描述
blockhashstringBlock hash at which to query deployment state. Default is the chain tip. (可选)

返回值

类型

Object

hash and height of the queried block, and deployments: an object keyed by deployment name with type (buried or bip9), active, height (for buried or active deployments) and, for bip9, a bip9 object with bit, start_time, timeout, min_activation_height, status, since, status_next and statistics.

代码示例

curl https://holy-burned-sky-litecoin-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"
  ]
}'