getmasternodestatus - Divi 2.5.1 RPC

getmasternodestatus

Print masternode status

Result:
{
  "txhash": "xxxx",      (string) Collateral transaction hash
  "outputidx": n,        (numeric) Collateral transaction output index number
  "netaddr": "xxxx",     (string) Masternode network address
  "addr": "xxxx",        (string) DIVI address for masternode payments
  "status": "xxxx",      (string) Masternode status
  "message": "xxxx"      (string) Masternode status message
}

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


Maintained by DiviDomains; modified by: Bert Shuler;license of the docs is MIT (see divi repo), license of the scripts and webpage is also MIT (github repo)

Note it uses a mainnet divi node



Control



Getinvalid