getavalanchepeerinfo ( "proofid" )

Returns data about an avalanche peer as a json array of objects. If no proofid is provided, returns data about all the peers.

1. proofid    (string) The hex encoded avalanche proof identifier.

[                              (json array)
  {                            (json object)
    "avalanche_peerid" : n,    (numeric) The avalanche internal peer identifier
    "proofid" : "hex",         (string) The avalanche proof id used by this peer
    "proof" : "hex",           (string) The avalanche proof used by this peer
    "nodecount" : n,           (numeric) The number of nodes for this peer
    "node_list" : [            (json array)
      n,                       (numeric) Node id, as returned by getpeerinfo

> bitcoin-cli getavalanchepeerinfo 
> bitcoin-cli getavalanchepeerinfo "proofid"
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id": "curltest", "method": "getavalanchepeerinfo", "params": []}' -H 'content-type: text/plain;'
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id": "curltest", "method": "getavalanchepeerinfo", "params": ["proofid"]}' -H 'content-type: text/plain;'