Hive Developer Portal
Methods:
Provides witness-node controls.
The legacy bandwidth methods in this section were disabled in 0.20.6, see:
#3029.
Current fast-confirm methods are available when the witness_api plugin is
enabled, and are intended for trusted witness-node operator endpoints.
witness_api.get_account_bandwidth
Disabled since 0.20.6, see: #3029
Returns the available bandwidth of an account. See: Forum/Market Bandwidth
Replacement / Successor
- Spiritual successor:
rc_api.find_rc_accounts
Hive replaced bandwidth-style accounting with resource credits; use RC account data for current resource availability.
Query Parameters JSON
{"account": "", "type": "post"}
Expected Response JSON
{}
Replacement / Successor
- Spiritual successor:
rc_api.get_resource_params
Hive replaced bandwidth reserve-ratio accounting with resource-credit parameters and pools.
Query Parameters JSON
{}
Expected Response JSON
{
"id": 0,
"average_block_size": 0,
"current_reserve_ratio": 1,
"max_virtual_bandwidth": "0"
}
Example curl
curl -s --data '{"jsonrpc":"2.0", "method":"witness_api.get_reserve_ratio", "params":{}, "id":1}' https://api.hive.blog