Accounts
Account Management
Get upgrade opportunities
This function lists accounts that could benefit from upgrading to a different package. The listed accounts may be nearing (or exceeding) resource usage thresholds.
get/get_upgrade_opportunities
Query parameters
disk_threshold_blocksinteger
Example:8388608
A fixed number of blocks to use as an alternative disk usage threshold.
nearness_fractionnumber
Example:0.6
The fraction of 1 at which to consider usage "near".
Response
HTTP Request was successful.
Example response
{
"metadata": {
"command": "get_upgrade_opportunities",
"reason": "OK",
"result": 1,
"version": 1
}
}