# How to calulate ObjectDigest?

**URL:** <https://forums.sui.io/t/how-to-calulate-objectdigest/44459>\
**Category:** SDK\
**Created:** [May 16, 2023, 1:30pm UTC](https://forums.sui.io/t/how-to-calulate-objectdigest/44459 "2023-05-16T13:30:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sunny](https://avatars.discourse-cdn.com/v4/letter/s/7c8e57/32.png) [@sunny](https://forums.sui.io/u/sunny)\
**Post date:** [May 16, 2023, 1:30pm UTC](https://forums.sui.io/t/how-to-calulate-objectdigest/44459/1 "2023-05-16T13:30:46Z")

</div>

Why do I need the ObjectDigest?

As a hardware wallet developer, I need to know exactly what object is being transferred when signing SUI transactions like “transferObject”, whether it is SUI, token, or something else. However, I cannot find a good way to determine this information. Therefore, I think that I can verify the information passed from software by using ObjectDigest. How can I obtain the ObjectDigest?

Alternatively, is there another way to achieve this?  
thanks

---

<div class="post-metadata">

**Author:** ![sunny](https://avatars.discourse-cdn.com/v4/letter/s/7c8e57/32.png) [@sunny](https://forums.sui.io/u/sunny)\
**Post date:** [May 17, 2023, 1:42am UTC](https://forums.sui.io/t/how-to-calulate-objectdigest/44459/2 "2023-05-17T01:42:59Z")

</div>

In the document, it states that “The object digest is the hash of the object’s contents and metadata”. However, I cannot find more information about it. Since I am not good at Rust, it is difficult for me to understand it from the Sui-code. I hope someone can help.
