New Here? Claim Your 30% Discount on Your First Blockchain Node Access!

banner image
dash

DASH

POST

GET

attention-sign-fillabandontransactionattention-sign-fillabortrescanattention-sign-filladdmultisigaddressattention-sign-filladdnodeattention-sign-fillbackupwalletattention-sign-fillbls_fromsecretattention-sign-fillbls_generateattention-sign-fillclearbannedattention-sign-fillcoinjoinattention-sign-fillcreatemultisigattention-sign-fillcreatewalletattention-sign-filldebugattention-sign-filldisconnectnodeattention-sign-filldumphdinfoattention-sign-filldumpprivkeyattention-sign-filldumpwalletattention-sign-fillencryptwalletattention-sign-fillfundrawtransactionattention-sign-fillgenerateattention-sign-fillgeneratetoaddressattention-sign-fillgetaddednodeinfoattention-sign-fillgetaddressbalanceattention-sign-fillgetaddressdeltasattention-sign-fillgetaddressesbylabelattention-sign-fillgetaddressinfoattention-sign-fillgetaddressmempoolattention-sign-fillgetaddresstxidsattention-sign-fillgetaddressutxosattention-sign-fillgetbalanceattention-sign-fillgetconnectioncountattention-sign-fillgetmemoryinfoattention-sign-fillgetnettotalsattention-sign-fillgetnetworkinfoattention-sign-fillgetnewaddressattention-sign-fillgetpeerinfoattention-sign-fillgetrawchangeaddressattention-sign-fillgetreceivedbyaddressattention-sign-fillgetreceivedbylabelattention-sign-fillgettransactionattention-sign-fillgetunconfirmedbalanceattention-sign-fillgetwalletinfoattention-sign-fillgobject_list-preparedattention-sign-fillgobject_prepareattention-sign-fillgobject_submitattention-sign-fillgobject_vote-aliasattention-sign-fillgobject_vote-confattention-sign-fillgobject_vote-manyattention-sign-fillgobjectattention-sign-fillimportaddressattention-sign-fillimportelectrumwalletattention-sign-fillimportmultiattention-sign-fillimportprivkeyattention-sign-fillimportprunedfundsattention-sign-fillimportpubkeyattention-sign-fillimportwalletattention-sign-fillkeepassattention-sign-fillkeypoolrefillattention-sign-filllistaddressbalancesattention-sign-filllistaddressgroupingsattention-sign-filllistbannedattention-sign-filllistlabelsattention-sign-filllistlockunspentattention-sign-filllistreceivedbyaddressattention-sign-filllistreceivedbylabelattention-sign-filllistsinceblockattention-sign-filllisttransactionsattention-sign-filllistunspentattention-sign-filllistwalletsattention-sign-fillloadwalletattention-sign-filllockunspentattention-sign-fillloggingattention-sign-fillmasternode_currentattention-sign-fillmasternode_outputsattention-sign-fillmasternode_winnerattention-sign-fillpingattention-sign-fillprioritisetransactionattention-sign-fillprotx_diffattention-sign-fillprotx_infoattention-sign-fillprotx_listattention-sign-fillprotx_register_fundattention-sign-fillprotx_register_prepareattention-sign-fillprotx_register_submitattention-sign-fillprotx_registerattention-sign-fillprotx_update_registrarattention-sign-fillprotx_update_serviceattention-sign-fillpruneblockchainattention-sign-fillquorum_dkgstatusattention-sign-fillquorum_getrecsigattention-sign-fillquorum_hasrecsigattention-sign-fillquorum_infoattention-sign-fillquorum_isconflictingattention-sign-fillquorum_listattention-sign-fillquorum_memberofattention-sign-fillquorum_selectquorumattention-sign-fillquorum_signattention-sign-fillquorum_verifyattention-sign-fillremoveprunedfundsattention-sign-fillrescanblockchainattention-sign-fillsavemempoolattention-sign-fillsendmanyattention-sign-fillsendtoaddressattention-sign-fillsetbanattention-sign-fillsetcoinjoinamountattention-sign-fillsetcoinjoinroundsattention-sign-fillsetlabelattention-sign-fillsetnetworkactiveattention-sign-fillsettxfeeattention-sign-fillsignmessageattention-sign-fillsignmessagewithprivkeyattention-sign-fillsignrawtransactionattention-sign-fillsignrawtransactionwithwalletattention-sign-fillstopattention-sign-fillsubmitblockattention-sign-fillunloadwalletattention-sign-fillupgradetohdattention-sign-fillverifychainlockattention-sign-fillverifyislockattention-sign-fillvoterawattention-sign-fillwalletlockattention-sign-fillwalletpassphraseattention-sign-fillwalletpassphrasechange
chevron-right

Last updated on January 1, 1970

3 min read

Method masternode_winners undefined ()
connect with JSON-RPC protocol

masternode_winners

info-circle-fill

prints the list of masternode winners.By default, the 10 previous block winners, the current block winner, andthe next 20 block winners are displayed. More past block winners can berequested via the optional count parameter.

Parameters

method name - string

None

count - string (hex)

Optional

Number of previous block winners to display (default: 10)

filter - string

Optional

Payment address to filter by

Request

curl --location --request POST 'https://dash.getblock.io/mainnet/' 
--header 'x-api-key: YOUR-API-KEY' 
--header 'Content-Type: application/json' 
--data-raw '{"jsonrpc": "2.0",
"method": "masternode",
"params": ["winners", null, null],
"id": "getblock.io"}'

Response

{
    "error": null,
    "id": "getblock.io",
    "result": {
        "1535904": "XrckquhAFHPiq2xAhEcxc89Phn1phD59Mi",
        "1535905": "XoDo3w4ZUqn93uL3FeRNb9fgfXvgg7BvDC, Xnem6ejaXAfKDTh5PFGSa9ozMQNMY6bvs7",
        "1535906": "XoDo3w4ZUqn93uL3FeRNb9fgfXvgg7BvDC, Xnem6ejaXAfKDTh5PFGSa9ozMQNMY6bvs7",
        "1535907": "XoDo3w4ZUqn93uL3FeRNb9fgfXvgg7BvDC, Xnem6ejaXAfKDTh5PFGSa9ozMQNMY6bvs7",
        "1535908": "XoDo3w4ZUqn93uL3FeRNb9fgfXvgg7BvDC, Xnem6ejaXAfKDTh5PFGSa9ozMQNMY6bvs7",
        "1535909": "XdYqyxCnCd9ewYNf4kbX4hRJaixN421SUm",
        "1535910": "XoDo3w4ZUqn93uL3FeRNb9fgfXvgg7BvDC, Xnem6ejaXAfKDTh5PFGSa9ozMQNMY6bvs7",
        "1535911": "Xrbh7thf5UK7UnCr57kNpLwxkSrFn91dcC",
        "1535912": "XoDo3w4ZUqn93uL3FeRNb9fgfXvgg7BvDC, Xnem6ejaXAfKDTh5PFGSa9ozMQNMY6bvs7",
        "1535913": "XoDo3w4ZUqn93uL3FeRNb9fgfXvgg7BvDC, Xnem6ejaXAfKDTh5PFGSa9ozMQNMY6bvs7",
        "1535914": "XoDo3w4ZUqn93uL3FeRNb9fgfXvgg7BvDC, Xnem6ejaXAfKDTh5PFGSa9ozMQNMY6bvs7",
        "1535915": "XshfZjCw2Ar1vT7uSpHWCmtF1pE7pvJt4c",
        "1535916": "XoDo3w4ZUqn93uL3FeRNb9fgfXvgg7BvDC, Xnem6ejaXAfKDTh5PFGSa9ozMQNMY6bvs7",
        "1535917": "XtLJ85td8RTe2584GnJngL27KYyZqEEX1R",
        "1535918": "XoDo3w4ZUqn93uL3FeRNb9fgfXvgg7BvDC, Xnem6ejaXAfKDTh5PFGSa9ozMQNMY6bvs7",
        "1535919": "Xefyiv1TmqnpZofgTbNWUkma1nmCHaA7Hh",
        "1535920": "XdYqyxCnCd9ewYNf4kbX4hRJaixN421SUm",
        "1535921": "Xepq4w7bbFRqDDoE7cR1gmsbm9EpfW8r4y",
        "1535922": "XoDo3w4ZUqn93uL3FeRNb9fgfXvgg7BvDC, Xnem6ejaXAfKDTh5PFGSa9ozMQNMY6bvs7",
        "1535923": "XqLKENxFQ27Sqg8t46jSht6bnatWaZiMcj",
        "1535924": "XwfiDpB29rbeW3kwsNvG5NFYGfDa5dQbyE",
        "1535925": "XoDo3w4ZUqn93uL3FeRNb9fgfXvgg7BvDC, Xnem6ejaXAfKDTh5PFGSa9ozMQNMY6bvs7",
        "1535926": "XoDo3w4ZUqn93uL3FeRNb9fgfXvgg7BvDC, Xnem6ejaXAfKDTh5PFGSa9ozMQNMY6bvs7",
        "1535927": "XoDo3w4ZUqn93uL3FeRNb9fgfXvgg7BvDC, Xnem6ejaXAfKDTh5PFGSa9ozMQNMY6bvs7",
        "1535928": "XoDo3w4ZUqn93uL3FeRNb9fgfXvgg7BvDC, Xnem6ejaXAfKDTh5PFGSa9ozMQNMY6bvs7",
        "1535929": "XcMRwEWiWzhtdJSJALbqAafd9iU1peU7b6",
        "1535930": "XoDo3w4ZUqn93uL3FeRNb9fgfXvgg7BvDC, Xnem6ejaXAfKDTh5PFGSa9ozMQNMY6bvs7",
        "1535931": "XoDo3w4ZUqn93uL3FeRNb9fgfXvgg7BvDC, Xnem6ejaXAfKDTh5PFGSa9ozMQNMY6bvs7",
        "1535932": "Xn757SZsKRprKqQhv6up51DuXcYoFtp47R",
        "1535933": "XoDo3w4ZUqn93uL3FeRNb9fgfXvgg7BvDC, Xnem6ejaXAfKDTh5PFGSa9ozMQNMY6bvs7",
        "1535934": "XoDo3w4ZUqn93uL3FeRNb9fgfXvgg7BvDC, Xnem6ejaXAfKDTh5PFGSa9ozMQNMY6bvs7"
    }
}
banner icon

Start Building with GetBlock RPCs for Free