# Transaction hashes and block hash missing in JSON response

**URL:** <https://forum.algorand.co/t/transaction-hashes-and-block-hash-missing-in-json-response/7229>\
**Category:** General\
**Created:** [June 21, 2022, 9:43am UTC](https://forum.algorand.co/t/transaction-hashes-and-block-hash-missing-in-json-response/7229 "2022-06-21T09:43:28Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![fabrice](https://avatars.discourse-cdn.com/v4/letter/f/5fc32e/32.png) [@fabrice](https://forum.algorand.co/u/fabrice)\
**Post date:** [June 22, 2022, 1:24pm UTC](https://forum.algorand.co/t/transaction-hashes-and-block-hash-missing-in-json-response/7229/5 "2022-06-22T13:24:23Z")

</div>

I read too fast, I thought you meant transaction ID for some reason.

You can get the current block hash as shown there:

> [@There is no block hash in get block api response](https://forum.algorand.co/t/there-is-no-block-hash-in-get-block-api-response/1904/2):
>
> This is available in the certificate of the block that you can get by querying the block as msgpack (?format=msgpack). In JS: const algosdk = require("algosdk"); const base32 = require("hi-base32"); const c = new algosdk.Algodv2("", "https://testnet.algoexplorerapi.io", ""); (async () =\> { const blk = await c.block(13819291).do(); const blk\_hash = base32.encode(blk["cert"]["prop"]["dig"]); console.log(blk\_hash); })(); Other SDKs work similarly, the client methods are: GetBlock for Jav…

---

_[View the full topic](https://forum.algorand.co/t/transaction-hashes-and-block-hash-missing-in-json-response/7229)._
