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
Addressindex
Blockchain
Control
Generating
Mining
Mnode
Network
Rawtransactions
Wallet
addmultisigaddress
backupwallet
dumpprivkey
dumpwallet
encryptwallet
fixmissingtxs
getaccount
getaccountaddress
getaddressesbyaccount
getbalance
getnewaddress
getrawchangeaddress
getreceivedbyaccount
getreceivedbyaddress
gettransaction
gettxfee
getunconfirmedbalance
getwalletinfo
importaddress
importprivkey
importwallet
keypoolrefill
listaccounts
listaddressamounts
listaddressgroupings
listlockunspent
listreceivedbyaccount
listreceivedbyaddress
listsinceblock
listtransactions
listunspent
lockunspent
move
scanburntransactions
scanformissingtxs
sendfrom
sendmany
sendtoaddress
setaccount
settxfee
signmessage
z_exportkey
z_exportviewingkey
z_exportwallet
z_getbalance
z_getnewaddress(type)
z_getnotescount
z_getoperationresult
z_getoperationstatus
z_gettotalbalance
z_importkey
z_importviewingkey
z_importwallet
z_listaddresses
z_listoperationids
z_listreceivedbyaddress
z_listunspent
z_mergetoaddress
z_sendmany
z_sendmanywithchangetosender
z_shieldcoinbase
z_viewtransaction
zcbenchmark