# Metadata on the blockchain

**URL:** <https://forum.zcashcommunity.com/t/metadata-on-the-blockchain/39246>\
**Category:** Technical Support\
**Created:** [May 8, 2021, 6:12pm UTC](https://forum.zcashcommunity.com/t/metadata-on-the-blockchain/39246 "2021-05-08T18:12:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![cryptorex](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/cryptorex/32/18293_2.png) [@cryptorex](https://forum.zcashcommunity.com/u/cryptorex)\
**Post date:** [May 8, 2021, 6:12pm UTC](https://forum.zcashcommunity.com/t/metadata-on-the-blockchain/39246/1 "2021-05-08T18:12:08Z")

</div>

Hello,

Is zaddress memo field the only way currently to add metadata to the ZEC transactions?

In the case of needing public disclosure of certain transfer commitments, I’m looking for an option other than having to provide memo keys.

I’m currently researching swaps that are facilitated by THORchain ecosystem and they rely on data fields that blockchains embed into their TXs.

---

<div class="post-metadata">

**Author:** ![Shawn](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/shawn/32/187_2.png) [@Shawn](https://forum.zcashcommunity.com/u/Shawn)\
**Post date:** [May 8, 2021, 7:09pm UTC](https://forum.zcashcommunity.com/t/metadata-on-the-blockchain/39246/2 "2021-05-08T19:09:15Z")

</div>

Last I checked, Zcash supports `OP_RETURN` inherited from Bitcoin. It’s limited to 83 bytes IIRC

We actually used it awhile back for miner signaling/voting for a proposed ZIP.

---

<div class="post-metadata">

**Author:** ![cryptorex](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/cryptorex/32/18293_2.png) [@cryptorex](https://forum.zcashcommunity.com/u/cryptorex)\
**Post date:** [May 9, 2021, 2:40pm UTC](https://forum.zcashcommunity.com/t/metadata-on-the-blockchain/39246/3 "2021-05-09T14:40:29Z")

</div>

Thanks @Shawn - It seems like this may only be for the `submitblock` RPC in mining.

I’ll keep looking, may even require dipping into codebase, but I don’t see how to add `OP_RETURN` in a TX. Are you able to share more details about it? Thanks!
