# Smart Contract for fetching transaction note field

**URL:** https://forum.algorand.co/t/smart-contract-for-fetching-transaction-note-field/1355
**Category:** Uncategorized
**Created:** [February 9, 2020, 10:00pm UTC](https://forum.algorand.co/t/smart-contract-for-fetching-transaction-note-field/1355 "2020-02-09T22:00:02Z")
**Posts on this page:** 1
**Showing post:** 7

<div class="post-metadata">

### Author: ![anupcoded](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.algorand.co/anupcoded/32/340_2.png) [@anupcoded](https://forum.algorand.co/u/anupcoded)
#### Post date: [February 20, 2020, 7:11pm UTC](https://forum.algorand.co/t/smart-contract-for-fetching-transaction-note-field/1355/7 "2020-02-20T19:11:09Z")

</div>

Hi fabrice,

You are right about the information being public from the start . I was thinking about using cryptographic tools for securing this bit of data. It’s only a hash value that I would like to trade and maybe using atomic transfer. But my confusion is where to store this hash on a transaction and provide it later when the atomic transfer is complete. Initially I was thinking creating assets with the hash value in the note field. When someone requests for this asset then we group 3 transactions based on atomic transfer to have a trade :  
first ,an opt in transaction by the receiver for receiving the asset  
second, a transaction for giving the asset with the hash value from the creator to the receiver  
third, a transaction from the receiver to the creator with the amount for the hash value

But things like hash value of the data , fee for the data and trying to hide this hash value are my concerns at the moment. Any ideas??

Thanks

---

_[View the full topic](https://forum.algorand.co/t/smart-contract-for-fetching-transaction-note-field/1355)._
