# How to get protobuf messsages from ic?

**URL:** <https://forum.dfinity.org/t/how-to-get-protobuf-messsages-from-ic/10409>\
**Category:** Developers\
**Created:** [January 21, 2022, 10:10am UTC](https://forum.dfinity.org/t/how-to-get-protobuf-messsages-from-ic/10409 "2022-01-21T10:10:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tingfei](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/tingfei/32/863_2.png) [@tingfei](https://forum.dfinity.org/u/tingfei)\
**Post date:** [January 21, 2022, 10:10am UTC](https://forum.dfinity.org/t/how-to-get-protobuf-messsages-from-ic/10409/1 "2022-01-21T10:10:19Z")

</div>

The [ic-protobuf](https://github.com/dfinity/ic/tree/master/rs/protobuf) contains protobuf messages used by the Replica. But I don’t know how to get the protobuf messages like **registry**. does anyone can give me a example?

---

<div class="post-metadata">

**Author:** ![skilesare](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/skilesare/32/5609_2.png) [@skilesare](https://forum.dfinity.org/u/skilesare)\
**Post date:** [January 21, 2022, 5:30pm UTC](https://forum.dfinity.org/t/how-to-get-protobuf-messsages-from-ic/10409/2 "2022-01-21T17:30:15Z")

</div>

We’ve talked some about a protobuf library for motoko, but the general consensus has been to migrate toward candid and add candid interfaces for the few protobuf functions that are out there. I don’t understand the slowness in adding these endpoints, but hopefully they are coming soon. The big outstanding ones that I know about are:

Ledger  
-getting Block detail  
-getting archive index

Ledger Archive  
-getting Block detail

Governance  
-getting the XDR ratio

---

<div class="post-metadata">

**Author:** ![Gekctek](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/gekctek/32/6863_2.png) [@Gekctek](https://forum.dfinity.org/u/Gekctek)\
**Post date:** [July 28, 2025, 8:53pm UTC](https://forum.dfinity.org/t/how-to-get-protobuf-messsages-from-ic/10409/3 "2025-07-28T20:53:20Z")

</div>

You got it!  
[Protobuf Library](https://mops.one/protobuf)
