Get Peer Info

Return information of the wallet all peer connections.

getpeerinfo
[
{
"id": 1,
"addr": "45.11.108.56:4002",
"addrlocal": "198.211.12.190:63648",
"addrbind": "172.21.41.106:63648",
"services": "0000000000000e0d",
"relaytxes": true,
"lastsend": 1539379080,
"lastrecv": 1539379084,
"bytessent": 27309,
"bytesrecv": 90234,
"conntime": 1539367479,
"timeoffset": 0,
"pingtime": 0.315712,
"minping": 0.216454,
"version": 70016,
"subver": "/Satoshi:0.16.1/",
"inbound": false,
"addnode": false,
"startingheight": 241769,
"banscore": 0,
"synced_headers": 253,
"synced_blocks": 253,
"inflight": [
],
"whitelisted": false,
"bytessent_per_msg": {
"addr": 163,
"feefilter": 12,
"getaddr": 12,
"getblocktxn": 50,
"getdata": 2681,
"getheaders": 989,
"headers": 8237,
"inv": 8237,
"ping": 3-04,
"pong": 3004,
"sendcmpct": 112,
"sendheaders": 14,
"verack": 12,
"version": 111
},
"bytesrecv_per_msg": {
"addr": 30122,
"blocktxn": 50,
"cmpctblock": 1680,
"feefilter": 22,
"getheaders": 719,
"headers": 23274,
"inv": 8237,
"ping": 3004,
"pong": 3004,
"sendcmpct": 16,
"sendheaders": 23,
"tx": 11712,
"verack": 12,
"version": 111
}
}