getminingeligibility - Pastel RPC
getminingeligibility ( "mnfilter" ) Returns a json object containing mining eligibility information for masternodes. Arguments: 1. "mnfilter" (string, optional) masternode filter to use for eligibility check Available filters: "all" - returns mining eligibility information for all masternodes (default) "eligibleonly" - returns a list of masternodes that are eligible for mining "noteligible" - returns a list of masternodes that are not eligible for mining Result: { "height": n, (numeric) The current block height for mining "miningEnabledCount": n, (numeric) The number of masternodes that have mining enabled "blocksChecked": n, (numeric) The number of blocks checked for mining eligibility (uses mining eligibility threshold from consensus parameters) "nodes": [ { "mnid": "xxxx", (string) masternode id "eligible": true|false, (boolean) masternode eligibility for mining and signing next block "collateralid": "xxxx", (string) masternode collateral id (txid-vout) "mnstate": "xxxx", (string) masternode state (ENABLED, PRE_ENABLED, etc.) "minedblocks": n, (numeric) number of blocks mined by the masternode in "blocksChecked" range } ,... ] } Examples: Get only masternodes eligible for mining next block: > pastel-cli getminingeligibility eligibleonly > pastel-cli getminingeligibility eligibleonly
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