masternodelist - Dash

Example code for the masternodelist json-rpc method. Сomplete guide on how to use masternodelist json-rpc in GetBlock.io Web3 documentation.

Parameters

mode - string

Optional. Required to use filter.

The mode to run list in.

addr: Print IP address associated with a masternode (can be additionally filtered, partial match)

full: Print info in format "status payee lastpaidtime lastpaidblock IP" (can be additionally filtered, partial match)

info: Print info in format "status payee IP" (can be additionally filtered, partial match)

json (Default): Print info in JSON format (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

owneraddress: Print the masternode owner Dash address

payee: Print Dash address associated with a masternode (can be additionally filtered, partial match)

publicKeyOperator: Print the masternode operator public key

status: Print masternode status: ENABLED / POSE_BANNED (can be additionally filtered, partial match)

votingaddress: Print the masternode voting Dash address

filter - string

Optional

Filter results. Partial match by outpoint by default in all modes, additional matches in some modes are also available.

Request

Response

Last updated

Was this helpful?