# get_gossip_peer_topics
get_gossip_peer_topics
The get_gossip_peer_topics
method returns a map of peerIDs to an array of the topics to which they are subscribed.
# Arguments
Structure | Type | Description |
---|---|---|
(none) |
# Response
Structure | Type | Description |
---|---|---|
PeerID-Topic map | Array | Topics subscribed to by PeerIDs |
# 📌 Examples
# Command
curl --url "http://127.0.0.1:7783" --data "
{
\"userpass\": \"${userpass}\",
\"method\": \"get_gossip_peer_topics\"
}
"