On this page

latest contributor to this doc

Last Edit:

@gcharang

Update Version Stat Collection

API-v2update_version_stat_collection

The update_version_stat_collection method updates the polling interval for version stats collection. Note: the new interval will take effect after the current interval loop has completed.

Parameter* = requiredTypeDescription
interval*
integer
Polling rate (in seconds) to query node versions

Parameter* = requiredTypeDescription
result*
string
The outcome of the request.

Update Version Stat Collection

POST
update_version_stat_collection
{
  "mmrpc": "2.0",
  "method": "update_version_stat_collection",
  "userpass": "RPC_UserP@SSW0RD",
  "params": {
    "interval": 900
  }
}

{
    "mmrpc": "2.0",
    "result": "success",
    "id": null
}

Parameter* = requiredTypeDescription
NotRunning
string
Optional. Version stat collection is not currently running

{
    "mmrpc": "2.0",
    "error": "start_version_stat_collection is not running",
    "error_path": "lp_stats",
    "error_trace": "lp_stats:374]",
    "error_type": "NotRunning",
    "id": null
}