masternodelist - Pastel RPC

masternodelist ( "mode" "filter" )
Get a list of masternodes in different modes

Arguments:
1. "mode"      (string, optional) Required to use filter, defaults = status) The mode to run list in
2. "filter"    (string, optional) Filter results. Partial match by outpoint by default in all modes,
                                   additional matches in some modes are also available
3. "allnodes"  (string, optional) Force to show all MNs including expired NEW_START_REQUIRED

Available modes:
  activeseconds  - Print number of seconds masternode recognized by the network as enabled
                   (since latest issued \"masternode activate\")
  addr           - Print ip address associated with a masternode (can be additionally filtered, partial match)
  full           - Print info in format 'status protocol payee lastseen activeseconds lastpaidtime lastpaidblock IP'
                   (can be additionally filtered, partial match)
  info           - Print info in format 'status protocol payee lastseen activeseconds sentinelversion sentinelstate IP'
                   (can be additionally filtered, partial match)
  lastpaidblock  - Print the last block height a node was paid on the network
  lastpaidtime   - Print the last time a node was paid on the network
  lastseen       - Print timestamp of when a masternode was last seen on the network
  payee          - Print Pastel address associated with a masternode (can be additionally filtered,
                   partial match)
  protocol       - Print protocol of a masternode (can be additionally filtered, exact match)
  pubkey         - Print the masternode (not collateral) public key
  rank           - Print rank of a masternode based on current block
  status         - Print masternode status: PRE_ENABLED / ENABLED / EXPIRED / WATCHDOG_EXPIRED / NEW_START_REQUIRED /
                   UPDATE_REQUIRED / POSE_BAN / OUTPOINT_SPENT (can be additionally filtered, partial match)
  extra          - Print PASTEL data associated with the masternode

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


Maintained by Pastel Network; license of the docs is MIT (see pastel repo)

Generated from a mainnet node