# List of canisters a cycles wallet is associated?

**URL:** <https://forum.dfinity.org/t/list-of-canisters-a-cycles-wallet-is-associated/28784>\
**Category:** Developers\
**Created:** [March 23, 2024, 7:35am UTC](https://forum.dfinity.org/t/list-of-canisters-a-cycles-wallet-is-associated/28784 "2024-03-23T07:35:21Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![rbole](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/rbole/32/1334_2.png) [@rbole](https://forum.dfinity.org/u/rbole)\
**Post date:** [March 23, 2024, 7:35am UTC](https://forum.dfinity.org/t/list-of-canisters-a-cycles-wallet-is-associated/28784/1 "2024-03-23T07:35:21Z")

</div>

Is there a way to get a list of all the canisters that have a specific cycles wallet associated with them?

---

<div class="post-metadata">

**Author:** ![rbole](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/rbole/32/1334_2.png) [@rbole](https://forum.dfinity.org/u/rbole)\
**Post date:** [March 24, 2024, 11:15am UTC](https://forum.dfinity.org/t/list-of-canisters-a-cycles-wallet-is-associated/28784/2 "2024-03-24T11:15:09Z")

</div>

I think this query is not possible, because if I understand it correctly, each canister has it‘s one cycle wallet canister.

---

<div class="post-metadata">

**Author:** ![Vivienne](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/vivienne/32/29170_2.png) [@Vivienne](https://forum.dfinity.org/u/Vivienne)\
**Post date:** [March 26, 2024, 1:17pm UTC](https://forum.dfinity.org/t/list-of-canisters-a-cycles-wallet-is-associated/28784/3 "2024-03-26T13:17:46Z")

</div>

I think you can use [`list_managed_canisters`](https://github.com/dfinity/cycles-wallet/blob/main/wallet/src/lib.did#L274) to figure that out

> [@rbole](#):
>
> if I understand it correctly, each canister has it‘s one cycle wallet canister

No, that’s not how it works. Typically every identity has a cycles wallet canister associated, but these can also be shared across multiple identities

---

<div class="post-metadata">

**Author:** ![rbole](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/rbole/32/1334_2.png) [@rbole](https://forum.dfinity.org/u/rbole)\
**Post date:** [March 29, 2024, 7:40am UTC](https://forum.dfinity.org/t/list-of-canisters-a-cycles-wallet-is-associated/28784/4 "2024-03-29T07:40:34Z")

</div>

Thanks @Vivienne

I’ve been trying to figure this out but I think I’m a bit lost at the moment!

> dfx canister --network ic call tfx7v-vaaaa-aaaas-aaaaq-cai list\_managed\_canisters ‘(record {})’

> WARN: Cannot fetch Candid interface for list\_managed\_canisters, sending arguments with inferred types.  
> Error: Failed update call.  
> Caused by: Failed update call.  
> The replica returned a replica error: reject code CanisterError, reject message Canister tfx7v-vaaaa-aaaas-aaaaq-cai has no update method ‘list\_managed\_canisters’, error code None

Could you give me a tip to overcome this step?

Also if I try to use a different dfx wallet command like:

> dfx wallet --network ic addresses

I receive an error:

> Error: Failed to call query function ‘list\_addresses’ on wallet.  
> Caused by: Failed to call query function ‘list\_addresses’ on wallet.  
> Failed to construct wallet canister caller: The replica returned a replica error: reject code CanisterError, reject message IC0536: Canister tfx7v-vaaaa-aaaas-aaaaq-cai has no query method ‘wallet\_api\_version’, error code Some(“IC0536”)

---

<div class="post-metadata">

**Author:** ![rbole](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/rbole/32/1334_2.png) [@rbole](https://forum.dfinity.org/u/rbole)\
**Post date:** [March 29, 2024, 8:26am UTC](https://forum.dfinity.org/t/list-of-canisters-a-cycles-wallet-is-associated/28784/5 "2024-03-29T08:26:12Z")

</div>

It seems that the documentation “Using a Cycles Wallet” describes a typographical error or an old format?

> **[Using a cycles wallet | Internet Computer](https://internetcomputer.org/docs/current/developer-docs/getting-started/cycles/cycles-wallet/)**
>
> Overview

> Check the cycles balance when deploying on the mainnet  
> If you have deployed a cycles wallet on the mainnet, you can use the **dfx wallet balance --network ic** command to check the current cycles balance on the network.

Must be: dfx wallet --network ic balance

---

<div class="post-metadata">

**Author:** ![Vivienne](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/vivienne/32/29170_2.png) [@Vivienne](https://forum.dfinity.org/u/Vivienne)\
**Post date:** [April 2, 2024, 6:36am UTC](https://forum.dfinity.org/t/list-of-canisters-a-cycles-wallet-is-associated/28784/6 "2024-04-02T06:36:00Z")

</div>

That means you’re using a really old wallet version that doesn’t support these functions yet. `dfx wallet upgrade` should get you to the latest one
