The sample response shows one peer. A live response includes every connected peer.
Parameters
Returns
- resultarray
One entry per connected peer.
- idinteger
Identifier for this peer connection.
- addrstring
Remote peer address and port.
- addrlocalstring
Local address as reported by the peer.
- addrbindstring
Local address and port bound for this connection.
- servicesstring
Service flags advertised by the peer, encoded as hexadecimal.
- servicesnamesarray
Human-readable names of service flags advertised by the peer.
- relaytxesboolean
Whether the peer relays transactions.
- lastsendinteger
Unix timestamp of the last message sent.
- lastrecvinteger
Unix timestamp of the last message received.
- bytessentinteger
Total bytes sent to the peer.
- bytesrecvinteger
Total bytes received from the peer.
- conntimeinteger
Unix timestamp when the connection began.
- timeoffsetinteger
Peer time offset in seconds.
- pingtimenumber
Latest ping round-trip time in seconds.
- minpingnumber
Minimum observed ping time in seconds.
- versioninteger
Peer protocol version.
- subverstring
Peer software version string.
- inboundboolean
Whether this is an inbound connection.
- bip152_hb_toboolean
Whether compact block high-bandwidth mode is enabled toward this peer.
- bip152_hb_fromboolean
Whether compact block high-bandwidth mode is enabled from this peer.
- addnodeboolean
Whether the peer was added through the addnode setting.
- connection_typestring
Type of peer connection.
- startingheightinteger
Peer-reported starting block height.
- banscoreinteger
Peer ban score.
- synced_headersinteger
Highest header height synchronized with this peer.
- synced_blocksinteger
Highest block height synchronized with this peer.
- inflightarray
Block heights currently requested from this peer.
- addr_processedinteger
Number of peer addresses processed.
- addr_rate_limitedinteger
Number of peer addresses limited by rate controls.
- whitelistedboolean
Whether the peer is whitelisted.
- permissionsarray
Permissions granted to this peer.
- minfeefilternumber
Minimum transaction fee rate requested by the peer.
- bytessent_per_msgobject
Map of message type to bytes sent.
- bytesrecv_per_msgobject
Map of message type to bytes received.
- errorobject | null
JSON-RPC error, or null on success.
- idinteger
JSON-RPC request identifier.
1{2"result": [3{4"id": 9,5"addr": "192.0.2.1:8333",6"addrlocal": "198.51.100.1:51372",7"addrbind": "198.51.100.1:51372",8"services": "0000000000000425",9"servicesnames": [10"NETWORK",11"BLOOM",12"BITCOIN_CASH",13"NETWORK_LIMITED"14],15"relaytxes": true,16"lastsend": 1795593285,17"lastrecv": 1795593283,18"bytessent": 9095103,19"bytesrecv": 9286594,20"conntime": 1795163309,21"timeoffset": 0,22"pingtime": 0.008804,23"minping": 0.007433,24"version": 70016,25"subver": "/Bitcoin Cash Node:29.0.0(EB32.0)/",26"inbound": false,27"bip152_hb_to": false,28"bip152_hb_from": false,29"addnode": false,30"connection_type": "outbound-full-relay",31"startingheight": 978141,32"banscore": 0,33"synced_headers": 978891,34"synced_blocks": 978891,35"inflight": [],36"addr_processed": 1091,37"addr_rate_limited": 0,38"whitelisted": false,39"permissions": [],40"minfeefilter": 0.00001,41"bytessent_per_msg": {42"addrv2": 12278,43"cmpctblock": 4253,44"dsproof-beta": 5858,45"feefilter": 32,46"getaddr": 24,47"getblocktxn": 376,48"getdata": 428673,49"getheaders": 1053,50"headers": 12296,51"inv": 7905290,52"notfound": 305,53"ping": 114560,54"pong": 114528,55"reject": 162,56"sendaddrv2": 24,57"sendcmpct": 99,58"sendheaders": 24,59"tx": 495108,60"verack": 24,61"version": 13662},63"bytesrecv_per_msg": {64"addrv2": 20754,65"blocktxn": 48041,66"cmpctblock": 1328115,67"dsproof-beta": 4602,68"feefilter": 32,69"getdata": 130533,70"getheaders": 1053,71"headers": 13568,72"inv": 1789200,73"notfound": 158,74"ping": 114528,75"pong": 114560,76"reject": 78,77"sendaddrv2": 24,78"sendcmpct": 99,79"sendheaders": 24,80"tx": 5721057,81"verack": 24,82"version": 14483}84}85],86"error": null,87"id": 188}
1{2"result": [3{4"id": 9,5"addr": "192.0.2.1:8333",6"addrlocal": "198.51.100.1:51372",7"addrbind": "198.51.100.1:51372",8"services": "0000000000000425",9"servicesnames": [10"NETWORK",11"BLOOM",12"BITCOIN_CASH",13"NETWORK_LIMITED"14],15"relaytxes": true,16"lastsend": 1795593285,17"lastrecv": 1795593283,18"bytessent": 9095103,19"bytesrecv": 9286594,20"conntime": 1795163309,21"timeoffset": 0,22"pingtime": 0.008804,23"minping": 0.007433,24"version": 70016,25"subver": "/Bitcoin Cash Node:29.0.0(EB32.0)/",26"inbound": false,27"bip152_hb_to": false,28"bip152_hb_from": false,29"addnode": false,30"connection_type": "outbound-full-relay",31"startingheight": 978141,32"banscore": 0,33"synced_headers": 978891,34"synced_blocks": 978891,35"inflight": [],36"addr_processed": 1091,37"addr_rate_limited": 0,38"whitelisted": false,39"permissions": [],40"minfeefilter": 0.00001,41"bytessent_per_msg": {42"addrv2": 12278,43"cmpctblock": 4253,44"dsproof-beta": 5858,45"feefilter": 32,46"getaddr": 24,47"getblocktxn": 376,48"getdata": 428673,49"getheaders": 1053,50"headers": 12296,51"inv": 7905290,52"notfound": 305,53"ping": 114560,54"pong": 114528,55"reject": 162,56"sendaddrv2": 24,57"sendcmpct": 99,58"sendheaders": 24,59"tx": 495108,60"verack": 24,61"version": 13662},63"bytesrecv_per_msg": {64"addrv2": 20754,65"blocktxn": 48041,66"cmpctblock": 1328115,67"dsproof-beta": 4602,68"feefilter": 32,69"getdata": 130533,70"getheaders": 1053,71"headers": 13568,72"inv": 1789200,73"notfound": 158,74"ping": 114528,75"pong": 114560,76"reject": 78,77"sendaddrv2": 24,78"sendcmpct": 99,79"sendheaders": 24,80"tx": 5721057,81"verack": 24,82"version": 14483}84}85],86"error": null,87"id": 188}