# Is it possible to list all objects by package?

**URL:** <https://forums.sui.io/t/is-it-possible-to-list-all-objects-by-package/47990>\
**Category:** Technical Support\
**Created:** [April 15, 2025, 5:46am UTC](https://forums.sui.io/t/is-it-possible-to-list-all-objects-by-package/47990 "2025-04-15T05:46:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![momentum99](https://dub1.discourse-cdn.com/sui/user_avatar/forums.sui.io/momentum99/32/31327_2.png) [@momentum99](https://forums.sui.io/u/momentum99)\
**Post date:** [April 15, 2025, 5:46am UTC](https://forums.sui.io/t/is-it-possible-to-list-all-objects-by-package/47990/1 "2025-04-15T05:46:30Z")

</div>

Hi, I’m newbie for SUI move 🖐 and want to list all objects defined at specific package.

Assuming SUI’s object model, it seems difficult to list objects by package, but I am wondering if it is possible without indexing server. Thx in advance!

---

<div class="post-metadata">

**Author:** ![siomari](https://avatars.discourse-cdn.com/v4/letter/s/db5fbb/32.png) [@siomari](https://forums.sui.io/u/siomari)\
**Post date:** [April 15, 2025, 9:01am UTC](https://forums.sui.io/t/is-it-possible-to-list-all-objects-by-package/47990/2 "2025-04-15T09:01:37Z")

</div>

Hi @momentum99! You’re right - Sui doesn’t currently have a native way to list all objects from a specific package. Here are two approaches you could consider:

1. **Custom Indexer Solution** :  
Build an indexer that tracks object creation and maintains a mapping of package-to-objects. This would give you the most flexibility.
2. **Event-Based Solution** :  
Have your package emit events whenever new objects are created, then query these events. This is lighter-weight but requires package modifications.

The indexer approach would work for existing packages, while events need forward planning. I’d be happy to elaborate on either approach if helpful!

---

<div class="post-metadata">

**Author:** ![momentum99](https://dub1.discourse-cdn.com/sui/user_avatar/forums.sui.io/momentum99/32/31327_2.png) [@momentum99](https://forums.sui.io/u/momentum99)\
**Post date:** [April 15, 2025, 11:55am UTC](https://forums.sui.io/t/is-it-possible-to-list-all-objects-by-package/47990/3 "2025-04-15T11:55:28Z")

</div>

Ok I got it. Thx so much @siomari 👍
