getpeerinfo (4.2.2 RPC) blockchain getbestblockhash getblock getblockchaininfo getblockcount getblockfilter getblockhash getblockheader getblockstats getchainlocks getchaintips getchaintxstats getdifficulty getmempoolancestors getmempooldescendants getmempoolentry getmempoolinfo getrawmempool gettxout gettxoutproof gettxoutsetinfo preciousblock pruneblockchain savemempool scantxoutset verifychain verifytxoutproof control getmemoryinfo getrpcinfo help logging stop uptime evo bls_fromsecret bls_generate protx_diff protx_info protx_list quorum_dkgsimerror quorum_dkgstatus quorum_getrecsig quorum_hasrecsig quorum_info quorum_isconflicting quorum_list quorum_memberof quorum_selectquorum quorum_sign quorum_verify evowallet protx_info_wallet protx_list_wallet protx_register protx_register_fund protx_register_prepare protx_register_submit protx_revoke protx_update_registrar protx_update_service generating generateblock generatetoaddress generatetodescriptor governance getgovernanceinfo getsuperblockbudget gobject_check gobject_count gobject_deserialize gobject_diff gobject_get gobject_getcurrentvotes gobject_list gobject_submit gobject_vote_conf voteraw governancewallet gobject_list_prepared gobject_prepare gobject_vote_alias gobject_vote_many masternode masternode_connect masternode_count masternode_current masternode_list masternode_outputs masternode_payments masternode_status masternode_winner masternode_winners mining createauxblock getblocktemplate getmininginfo getnetworkhashps prioritisetransaction submitauxblock submitblock submitheader network addnode clearbanned disconnectnode getaddednodeinfo getconnectioncount getnettotals getnetworkinfo getnodeaddresses getpeerinfo listbanned ping setban setnetworkactive rawtransactions analyzepsbt combinepsbt combinerawtransaction converttopsbt createpsbt createrawtransaction decodepsbt decoderawtransaction decodescript finalizepsbt fundrawtransaction getrawtransaction joinpsbts sendrawtransaction signrawtransactionwithkey testmempoolaccept utxoupdatepsbt syscoin assetallocationverifyzdag assetinfo assettransactionnotarize convertaddress getnotarysighash listassets mnauth mnsync spork syscoincheckmint syscoinclearethheaders syscoindecoderawtransaction syscoingetspvproof syscoingettxroots syscoinsetethheaders syscoinsetethstatus syscoinstartgeth syscoinstopgeth syscoinwallet addressbalance assetallocationbalance assetallocationburn assetallocationmint assetallocationsend assetallocationsendmany assetnew assetnewtest assetsend assetsendmany assettransfer assetupdate convertaddresswallet getauxblock listunspentasset sendfrom signhash signmessagebech32 syscoinburntoassetallocation util createmultisig deriveaddresses estimatesmartfee getdescriptorinfo getindexinfo signmessagewithprivkey validateaddress verifymessage wallet abandontransaction abortrescan addmultisigaddress backupwallet bumpfee createwallet dumpprivkey dumpwallet encryptwallet getaddressesbylabel getaddressinfo getbalance getbalances getnewaddress getrawchangeaddress getreceivedbyaddress getreceivedbylabel gettransaction getunconfirmedbalance getwalletinfo importaddress importdescriptors importmulti importprivkey importprunedfunds importpubkey importwallet keypoolrefill listaddressgroupings listdescriptors listlabels listlockunspent listreceivedbyaddress listreceivedbylabel listsinceblock listtransactions listunspent listwalletdir listwallets loadwallet lockunspent psbtbumpfee removeprunedfunds rescanblockchain send sendmany sendtoaddress sethdseed setlabel settxfee setwalletflag signmessage signrawtransactionwithwallet unloadwallet upgradewallet walletcreatefundedpsbt walletlock walletpassphrase walletpassphrasechange walletprocesspsbt zmq getzmqnotifications getpeerinfo Returns data about each connected network node as a json array of objects. Result: [ (json array) { (json object) "id" : n, (numeric) Peer index "addr" : "str", (string) (host:port) The IP address and port of the peer "addrbind" : "str", (string) (ip:port) Bind address of the connection to the peer "addrlocal" : "str", (string) (ip:port) Local address as reported by the peer "network" : "str", (string) Network (ipv4, ipv6, onion, i2p, not_publicly_routable) "mapped_as" : n, (numeric) The AS in the BGP route to the peer used for diversifying peer selection (only available if the asmap config flag is set) "services" : "hex", (string) The services offered "verified_proregtx_hash" : "hex", (string) Only present when the peer is a masternode and successfully authenticated via MNAUTH. In this case, this field contains the protx hash of the masternode "verified_pubkey_hash" : "hex", (string) Only present when the peer is a masternode and successfully authenticated via MNAUTH. In this case, this field contains the hash of the masternode's operator public key "servicesnames" : [ (json array) the services offered, in human-readable form "str", (string) the service name if it is recognised ... ], "relaytxes" : true|false, (boolean) Whether peer has asked us to relay transactions to it "lastsend" : xxx, (numeric) The UNIX epoch time of the last send "lastrecv" : xxx, (numeric) The UNIX epoch time of the last receive "last_transaction" : xxx, (numeric) The UNIX epoch time of the last valid transaction received from this peer "last_block" : xxx, (numeric) The UNIX epoch time of the last block received from this peer "bytessent" : n, (numeric) The total bytes sent "bytesrecv" : n, (numeric) The total bytes received "conntime" : xxx, (numeric) The UNIX epoch time of the connection "timeoffset" : n, (numeric) The time offset in seconds "pingtime" : n, (numeric) ping time (if available) "minping" : n, (numeric) minimum observed ping time (if any at all) "pingwait" : n, (numeric) ping wait (if non-zero) "version" : n, (numeric) The peer version, such as 70001 "subver" : "str", (string) The string version "inbound" : true|false, (boolean) Inbound (true) or Outbound (false) "bip152_hb_to" : true|false, (boolean) Whether we selected peer as (compact blocks) high-bandwidth peer "bip152_hb_from" : true|false, (boolean) Whether peer selected us as (compact blocks) high-bandwidth peer "masternode" : true|false, (boolean) Whether connection was due to masternode connection attempt "startingheight" : n, (numeric) The starting height (block) of the peer "synced_headers" : n, (numeric) The last header we have in common with this peer "synced_blocks" : n, (numeric) The last block we have in common with this peer "inflight" : [ (json array) n, (numeric) The heights of blocks we're currently asking from this peer ... ], "permissions" : [ (json array) Any special permissions that have been granted to this peer "str", (string) bloomfilter (allow requesting BIP37 filtered blocks and transactions), noban (do not ban for misbehavior; implies download), forcerelay (relay transactions that are already in the mempool; implies relay), relay (relay even in -blocksonly mode, and unlimited transaction announcements), mempool (allow requesting BIP35 mempool contents), download (allow getheaders during IBD, no disconnect after maxuploadtarget limit), addr (responses to GETADDR avoid hitting the cache and contain random records with the most up-to-date info). ... ], "minfeefilter" : n, (numeric) The minimum fee rate for transactions this peer accepts "bytessent_per_msg" : { (json object) "msg" : n, (numeric) The total bytes sent aggregated by message type When a message type is not listed in this json object, the bytes sent are 0. Only known message types can appear as keys in the object. ... }, "bytesrecv_per_msg" : { (json object) "msg" : n (numeric) The total bytes received aggregated by message type When a message type is not listed in this json object, the bytes received are 0. Only known message types can appear as keys in the object and all bytes received of unknown message types are listed under '*other*'. }, "connection_type" : "str" (string) Type of connection: outbound-full-relay (default automatic connections), block-relay-only (does not relay transactions or addresses), inbound (initiated by the peer), manual (added via addnode RPC or -addnode/-connect configuration options), addr-fetch (short-lived automatic connection for soliciting addresses), feeler (short-lived automatic connection for testing addresses). Please note this output is unlikely to be stable in upcoming releases as we iterate to best capture connection behaviors. }, ... ] Examples: > syscoin-cli getpeerinfo > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id": "curltest", "method": "getpeerinfo", "params": []}' -H 'content-type: text/plain;' http://127.0.0.1:8370/