On this page

get_directly_connected_peers

The get_directly_connected_peers method all connected peers with their multiaddresses. See https://docs.libp2p.io/concepts/addressing/ for more information.

StructureTypeDescription
(none)

StructureTypeDescription
PeerID-MultiaddressesArrayAll connected peers with their multiaddresses.

POST
get_directly_connected_peers
{
  "userpass": "RPC_UserP@SSW0RD",
  "method": "get_directly_connected_peers"
}