system_localPeerId - JSON-RPC Method
Return the node's libp2p PeerId.
Bittensor RPC endpoint: endpoint URLs, plans and pricing.
Description
Interact with Substrate JSON‑RPC. This method is commonly used to build reliable indexers, developer tooling, and responsive UIs.
Returns the libp2p PeerId of the node.
Code Examples
{
"jsonrpc": "2.0",
"method": "system_localPeerId",
"params": [],
"id": 1
}