getdeprecationinfo - BitcoinZ 2.0.7 RPC

getdeprecationinfo
Returns an object containing current version and deprecation block height. Applicable only on mainnet.

Result:
{
  "version": xxxxx,                      (numeric) the server version
  "subversion": "/MagicBean:x.y.z[-v]/",     (string) the server subversion string
  "deprecationheight": xxxxx,            (numeric) the block height at which this version will deprecate and shut down
}

Examples:
> bitcoinz-cli getdeprecationinfo 
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getdeprecationinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8032/




Control