# get_peers_info

get_peers_info

The get_peers_info method all connected peers with their multiaddresses. See https://docs.libp2p.io/concepts/addressing/ (opens new window) for more information.

# Arguments

Structure Type Description
(none)

# Response

Structure Type Description
PeerID-Multiaddresses Array All connected peers with their multiaddresses.

# 📌 Examples

# Command

curl --url "http://127.0.0.1:7783" --data "
	{
        \"userpass\": \"${userpass}\",
        \"method\": \"get_peers_info\"
    }
"