title: How to get a public key from private key and/or account id in NEAR protocol?
body: <p>There are various scenarios when you may possess either account id (this is public information) or own the private (secret) key (e.g. extract it from NEAR Wallet local storage), and you want to know the corresponding public key.</p>
  <p>What are the options to get the relevant public keys?</p>