I need to know my node's peer identity to use it as a boot node. Didn't start the node with --node-key. Also, the node has been running for so long that I can no longer access the startup logs containing 2021-03-10 17:34:27 🏷 Local node identity is: 12D3KooWEyopp.... Is there any other way to obtain my node's peer identity?

1 Answer 1


you can query the local peerId through and rpc call. For example using polkadotjs

enter image description here


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.