I use the command:

> eth.getTransaction("0xac844bd1107761fec3abe2f55bf739f0e7cc6dd1cd169a60176bfb22

Where the brackets contain the hash of the successful transaction. This is what I get:

  blockNumber: null,
  from: "0xcf03e41ee1116bed4f1acf8a2209b4d37d755988",
  gas: 90000,
  gasPrice: 18000000000,
  hash: "0xac844bd1107761fec3abe2f55bf739f0e7cc6dd1cd169a60176bfb229826b5a8",
  input: "0x165c4a16000000000000000000000000000000000000000000000000000000000000
  nonce: 28,
  r: "0x4f674ff118c840d032fb3cba8ba0f9cdaed1f73be54f08b487fe1204b5bab809",
  s: "0x736f214a50ad1b417380e2c0aee273459f78fac0bd37deb59b4e7c112736acee",
  to: "0x2608273b77ef3964ceb1fb488d4b95b30258d091",
  transactionIndex: 0,
  v: "0xf09",
  value: 0

Can I make use of any of the above values to generate the Public Key of my transaction?

  • 1
    A transaction does not have a public key. Are you referring to the hash of the transaction? – cleanunicorn Mar 20 '18 at 10:29
  • Yes. I mean the hash of the transaction – Akhil Kintali Mar 20 '18 at 10:35
  • You already have the public transaction. – Ayushya Mar 20 '18 at 10:42
  • Where do I have the public key? – Akhil Kintali Mar 20 '18 at 10:53
  • I feel like we're going in circles. Have you tried recursion? o.O – cleanunicorn Mar 20 '18 at 11:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.