3

Why not solidity provide tx.TxHash (only tx.gasprice , tx.origin)?

reference https://solidity.readthedocs.io/en/develop/units-and-global-variables.html

tx.TxHash,Transaction(ID) Hash, it should be a random num。

thanks.

eth
  • 85,679
  • 53
  • 285
  • 406
Jack
  • 31
  • 3
  • 1
    Possible related the comments of https://ethereum.stackexchange.com/questions/2664/is-it-possible-to-get-the-transaction-hash-from-within-a-solidity-function-call/2665#2665. It should be possible, but it is not implemented. – Ismael Aug 27 '17 at 02:41
  • Out of interest what do you want this for? – Edmund Edgar Aug 27 '17 at 20:11

0 Answers0