Hi
I am using http://127.0.0.1:7890/block/at/public with height to get a block information.
I couldn’t find the block hash in that…
Can someone let me know how to find a block hash?
Thanks
Hi
I am using http://127.0.0.1:7890/block/at/public with height to get a block information.
I couldn’t find the block hash in that…
Can someone let me know how to find a block hash?
Thanks
Is block hash called as “signature” in Nem?
Hashed structure can not contain a hash of itself … unless there is bug in the hashing function … next block could contain a hash of previous block.
Hello, I’m afraid block hash is not in get block response (only previous block). It must be calculated using sha3 function as is described in:
https://forum.nem.io/t/hash-of-the-latest-block-via-the-nis-api?source_topic_id=8773
@Kamil was first
On a similar note… Do i use the same way to calculate a transaction hash too? Or is it readily available somewhere in API…?
Edit: I found it in the “meta”->“hash” of the transaction