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.
Structure | Type | Description |
---|---|---|
(none) |
Structure | Type | Description |
---|---|---|
PeerID-Topic map | Array | Topics subscribed to by PeerIDs |
POST
get_gossip_peer_topics{
"userpass": "RPC_UserP@SSW0RD",
"method": "get_gossip_peer_topics"
}
{
"result": {
"12D3KooWJDoV9vJdy6PnzwVETZ3fWGMhV41VhSbocR1h2geFqq9Y": [],
"12D3KooWM8BrDBXc1TVw2vswoqYcQVn7fFvpAvcCfaV2Uqg2L9jU": [],
"12D3KooWPR2RoPi19vQtLugjCdvVmCcGLP2iXAzbDfP3tp81ZL4d": [],
"12D3KooWDbBdifGp3viDR4dCECEFKepjhwhd2YwAqgNVdXpEeewu": []
}
}