Nimiq
network

Get peer id

Returns the peer ID for our local peer.

getPeerIdrpc method

Parameters

This method does not accept any parameters.

Response fields

Stringstring

Interactive playground

Try the method against a public RPC endpoint.

Copyright © 2026