getcoldstakinginfo - Particl RPC

getcoldstakinginfo
Returns an object containing coldstaking related information.
Result:
{
  "enabled": true|false,             (boolean) If a valid coldstakingaddress is loaded or not on this wallet.
  "coldstaking_extkey_id"            (string) The id of the current coldstakingaddress.
  "coin_in_stakeable_script"         (numeric) Current amount of coin in scripts stakeable by this wallet.
  "coin_in_coldstakeable_script"     (numeric) Current amount of coin in scripts stakeable by the wallet with the coldstakingaddress.
  "percent_in_coldstakeable_script"  (numeric) Percentage of coin in coldstakeable scripts.
  "currently_staking"                (numeric) Amount of coin estimated to be currently staking by this wallet.
}

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


This is a website, created out of frustration with uncomplete and outdated Particl Core RPC documentation online.

Particl version: 0.16.0.1

Note that the RPC is from a regtest node (for completeness), so it includes some additional calls that a regular node doesn't have.


Anon






Mnemonic