getconnectioncount

Back to network

Summary

Returns the number of connections to other nodes.

Description

Returns the number of connections to other nodes.

Arguments

None.

Results

  • value (NUM): The connection count

Examples

qbit-cli getconnectioncount
curl --user myusername --data-binary '{"jsonrpc": "2.0", "id": "curltest", "method": "getconnectioncount", "params": []}' -H 'content-type: application/json' http://127.0.0.1:8352/