Within a Solidity function, is the transaction hash available as a global variable from within the contract? I would have thought it would be something like tx.hash
in the same way you can do tx.origin
etc.
My thinking is that the transaction hash will not be available until the contract has been mined. Is this correct?