cosmjs
cosmjs copied to clipboard
How to decode client getBlock(). txs. decodedTxRaw. signatures?
After parsing tsx, I also need to get the txHash of this transaction, but I don't see the txHash after parsing it. The signatures field is the txHash of the transaction, right? Or is there something wrong with my understanding? Why has no one replied?
@webmaster128 please
The tx hash is simply sha256(txBytes), so you don't need to decode it at all in order to get the hash.
Why has no one replied?
GitHub is not a support channel and unfortunately there is no reliable support channel for CosmJS right now. Questions are answered depending on availablility and mood. Not a great solution, I know. But that's the reality.
@chaim-g have you solved this ? i have also same question .