# View an Account's Storage

**URL:** <https://forum.flow.com/t/view-an-accounts-storage/3062>\
**Category:** 🏄🏻‍♀️ Cadence\
**Tags:** cadence\
**Created:** [April 29, 2022, 11:01pm UTC](https://forum.flow.com/t/view-an-accounts-storage/3062 "2022-04-29T23:01:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![yonbyrne](https://avatars.discourse-cdn.com/v4/letter/y/97f17d/32.png) [@yonbyrne](https://forum.flow.com/u/yonbyrne)\
**Post date:** [April 29, 2022, 11:01pm UTC](https://forum.flow.com/t/view-an-accounts-storage/3062/1 "2022-04-29T23:01:58Z")

</div>

Is there a way to query an AuthAccount’s storage? For example, to see all of the resources stored under the `/storage/...` domain.

I’m fairly new to Flow, but from what I have gathered there is no real way to query or check all of the saved paths in an Account’s storage directly from within Cadence. In the Flow Playground, there is a pane that shows an accounts storage, but it seems to me like this is just being saved in the browser.

If not, is there a reason for not allowing this? Seem’s like it would be pretty useful to have this functionality.

---

<div class="post-metadata">

**Author:** ![bastian](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.flow.com/bastian/32/183_2.png) [@bastian](https://forum.flow.com/u/bastian)\
**Post date:** [May 3, 2022, 5:30pm UTC](https://forum.flow.com/t/view-an-accounts-storage/3062/2 "2022-05-03T17:30:22Z")

</div>

No, there is currently no way to iterate over an account’s paths. This is not intentionally missing, just technically complex to implement, but it is in the works:

> <https://github.com/onflow/cadence/issues/208>
>
> \### Issue To Be Solved
> A way to iterate over the storage to be able to list the… resources owned by an account.
> 
> \### (Optional): Suggest A Solution
> 
> \- using a Cadence script:
> \`for entry in account.storageEntries {
> log(entry)
> }\`
> \- using RPC:
> \` getAccount(“0x01")\`
> The response result can have a \`storage\` field with data in the cadence format (json with types)
> 
> \* Details of the technical implementation
> \* Tradeoffs made in design decisions
> \* Caveats and considerations for the future
> 
> If there are multiple solutions, please present each one separately. Save comparisons for the very end.)
> 
> \### (Optional): Context
> I’m working on a marketplace and I was looking for a way to list all NFTs owned by an account.

---

<div class="post-metadata">

**Author:** ![yonbyrne](https://avatars.discourse-cdn.com/v4/letter/y/97f17d/32.png) [@yonbyrne](https://forum.flow.com/u/yonbyrne)\
**Post date:** [May 4, 2022, 8:39pm UTC](https://forum.flow.com/t/view-an-accounts-storage/3062/3 "2022-05-04T20:39:59Z")

</div>

Interesting… Thanks for the response!
