getnetworkinfo
Summary
Returns an object containing various state info regarding P2P networking.
Description
Returns an object containing various state info regarding P2P networking.
Arguments
None.
Results
value(OBJ): No description.version(NUM): the server versionsubversion(STR): the server subversion stringprotocolversion(NUM): the protocol versionlocalservices(STR_HEX): the services we offer to the networklocalservicesnames(ARR): the services we offer to the network, in human-readable formSERVICE_NAME(STR): the service name
localrelay(BOOL): true if transaction relay is requested from peerstimeoffset(NUM): the time offsetconnections(NUM): the total number of connectionsconnections_in(NUM): the number of inbound connectionsconnections_out(NUM): the number of outbound connectionsnetworkactive(BOOL): whether p2p networking is enablednetworks(ARR): information per networkvalue(OBJ): No description.name(STR): network (ipv4, ipv6, onion, i2p, cjdns)limited(BOOL): is the network limited using -onlynet?reachable(BOOL): is the network reachable?proxy(STR): ("host:port") the proxy that is used for this network, or empty if noneproxy_randomize_credentials(BOOL): Whether randomized credentials are used
relayfee(NUM): minimum relay fee rate for transactions in QBT/kvBincrementalfee(NUM): minimum fee rate increment for mempool limiting or replacement in QBT/kvBlocaladdresses(ARR): list of local addressesvalue(OBJ): No description.address(STR): network addressport(NUM): network portscore(NUM): relative score
warnings(ARR): any network and blockchain warnings (run with-deprecatedrpc=warningsto return the latest warning as a single string)value(STR): warning
Examples
qbit-cli getnetworkinfo
curl --user myusername --data-binary '{"jsonrpc": "2.0", "id": "curltest", "method": "getnetworkinfo", "params": []}' -H 'content-type: application/json' http://127.0.0.1:8352/