how to get the public key of a node

+1 vote

hello, i want to make a  stream that will be is used by participants to distribute their public keys for any public-key cryptography scheme, the question is that how i can get the public key of the node ( i now the wallet adress but not the public key) in order to share it in the stream.


asked Nov 27, 2018 by johndev

1 Answer

0 votes
Best answer

To get the public use the following JSON RPC API command.

getaddresses true

The pubkey will be displayed then.

answered Nov 28, 2018 by jeshocarmel
selected Nov 28, 2018 by johndev
Thank you very much