# Zcashd and Orchard pool

**URL:** <https://forum.zcashcommunity.com/t/zcashd-and-orchard-pool/51405>\
**Category:** Technical Support\
**Created:** [June 6, 2025, 10:49am UTC](https://forum.zcashcommunity.com/t/zcashd-and-orchard-pool/51405 "2025-06-06T10:49:38Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![postfix1](https://avatars.discourse-cdn.com/v4/letter/p/fbc32d/32.png) [@postfix1](https://forum.zcashcommunity.com/u/postfix1)\
**Post date:** [June 6, 2025, 10:49am UTC](https://forum.zcashcommunity.com/t/zcashd-and-orchard-pool/51405/1 "2025-06-06T10:49:38Z")

</div>

There is a zcashd node and some funds in the wallet in the Orchard pool.  
As far as I understand, the only method to transfer funds from the Orchard pool for zcashd is the RPC is: z\_sendmany.  
To make a transfer, you need to specify the “fromaddress”.  
If you look at zcash-cli z\_listunspent, there are entries without an address. These entries appeared as change when I transferred from UA to UA in Orchard.  
They look like this (just example):

```auto
  {
    "txid": "dbca6bc0d33c9da91464...6b4696787d6fd53bb19f438465ad1275",
    "pool": "orchard",
    "outindex": 0,
    "confirmations": 65432,
    "spendable": true,
    "account": 0,
    "amount": 500.82116409,
    "memo": "f60000000...0000",
    "change": true
  },

```

That is, these funds are located at some “internal wallet address”.

Practical question: How can they be spent? By the z\_sendmany operation or some other operation? What should be specified in fromaddress?

Theoretical questions:

What are these internal wallet addresses?

Returning to zcash-cli z\_listunspent:  
this method shows: an array of unspent shielded notes.  
In my wallet, there are 37 such entries, including entries without an address (change), and all of them are in the Orchard pool.  
But if you look at zcash-cli z\_getnotescount, it shows that there are many more notes in the Orchard pool.  
What is this discrepancy related to? Does one note not correspond to one unspent output?

This is not a question, just an observation: if you look at zcash-cli z\_listreceivedbyaddress for ANY address obtained from z\_listunspent, the output is the same: ALL operations in the wallet are shown.

I understand that we are already saying goodbye to zcashd. Nevertheless, besides it, there is no working wallet for full node today.

---

<div class="post-metadata">

**Author:** ![dismad](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/dismad/32/18432_2.png) [@dismad](https://forum.zcashcommunity.com/u/dismad)\
**Post date:** [June 6, 2025, 2:01pm UTC](https://forum.zcashcommunity.com/t/zcashd-and-orchard-pool/51405/2 "2025-06-06T14:01:38Z")

</div>

> [@postfix1](#):
>
> How can they be spent? By the z\_sendmany operation or some other operation? What should be specified in fromaddress?

`zcash-cli z_listaccounts | jq .[].addresses[].ua`

Check [this](https://github.com/dismad/zcashdUtilities) out for more help.

> [@postfix1](#):
>
> Nevertheless, besides it, there is no working wallet for full node today

Most CEX’s use zcashd, so this statement is false.

---

<div class="post-metadata">

**Author:** ![postfix1](https://avatars.discourse-cdn.com/v4/letter/p/fbc32d/32.png) [@postfix1](https://forum.zcashcommunity.com/u/postfix1)\
**Post date:** [June 6, 2025, 2:47pm UTC](https://forum.zcashcommunity.com/t/zcashd-and-orchard-pool/51405/3 "2025-06-06T14:47:41Z")

</div>

> [@dismad](#):
>
> `zcash-cli z_listaccounts | jq .[].addresses[].ua`

Thank you for the response.  
I checked that have only one account. Looked at the addresses I generated on it. What next?  
For the unspent change, no address is shown in the command output z\_listunspent. So how to spend it?  
It seems, unfortunately, you did not understand what I am asking.

> [@dismad](#):
>
> Most CEX’s use zcashd, so this statement is false.

I wrote that besides zcashd, there are no full node wallets. What is the problem with this statement?

---

<div class="post-metadata">

**Author:** ![dismad](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/dismad/32/18432_2.png) [@dismad](https://forum.zcashcommunity.com/u/dismad)\
**Post date:** [June 6, 2025, 2:59pm UTC](https://forum.zcashcommunity.com/t/zcashd-and-orchard-pool/51405/4 "2025-06-06T14:59:30Z")

</div>

> [@postfix1](#):
>
> It seems, unfortunately, you did not understand what I am asking.

Are you asking how to spend funds, or how to spend funds in a very specific way? How were these funds recieved? What are the amounts? More information is need if you have a specific situation.

`sendmany` will work with the UA in your account in general.

> [@postfix1](#):
>
> I wrote that besides zcashd, there are no full node wallets. What is the problem with this statement?

Yes, I read it wrong. However by chance I’m still correct:

- [Zingo-cli](https://github.com/zingolabs/zingolib)
- [Zenith Full node Wallet](https://forum.zcashcommunity.com/t/zenith-full-node-wallet/46523/49)
- [zcash-devtool (Zebrad + Zainod)](https://github.com/zcash/zcash-devtool)
- [zallet ( alpha )](https://github.com/zcash/wallet)

For your viewing pleasure, here is how to use zebrad

[![](https://global.discourse-cdn.com/zcash/original/3X/c/0/c042f11f1757275c112bedd0939d2272f9696d49.jpeg "An introduction to Zingolib + Zaino") ](https://www.youtube.com/watch?v=b5dIuGstMvI)

---

<div class="post-metadata">

**Author:** ![postfix1](https://avatars.discourse-cdn.com/v4/letter/p/fbc32d/32.png) [@postfix1](https://forum.zcashcommunity.com/u/postfix1)\
**Post date:** [June 6, 2025, 3:16pm UTC](https://forum.zcashcommunity.com/t/zcashd-and-orchard-pool/51405/5 "2025-06-06T15:16:52Z")

</div>

Do the following:

1. Transfer 5 zec to the Orchard pool to address ua1

2. Create address ua2 in the same wallet

3. Transfer 2 ZEC from address ua1 to address ua2 within the Orchard pool

Question: On which address (note) are the 3 ZEC that became change from the operation in step 3 now located?  
How can they be spent?

---

<div class="post-metadata">

**Author:** ![dismad](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/dismad/32/18432_2.png) [@dismad](https://forum.zcashcommunity.com/u/dismad)\
**Post date:** [June 6, 2025, 3:32pm UTC](https://forum.zcashcommunity.com/t/zcashd-and-orchard-pool/51405/6 "2025-06-06T15:32:33Z")

</div>

> [@postfix1](#):
>
> Question: On which address (note) are the 3 ZEC that became change from the operation in step 3 now located?  
> How can they be spent?

Question: what are you trying to do? ( Why does this matter? )

---

<div class="post-metadata">

**Author:** ![postfix1](https://avatars.discourse-cdn.com/v4/letter/p/fbc32d/32.png) [@postfix1](https://forum.zcashcommunity.com/u/postfix1)\
**Post date:** [June 6, 2025, 4:04pm UTC](https://forum.zcashcommunity.com/t/zcashd-and-orchard-pool/51405/7 "2025-06-06T16:04:02Z")

</div>

> [@dismad](#):
>
> Question: what are you trying to do? ( Why does this matter? )

Honestly, I don’t want to be negative. But if you don’t understand how the application, protocol, etc. work, and after the fifth time you still don’t get what the topic is about, please don’t write anything in the technical section

---

<div class="post-metadata">

**Author:** ![nuttycom](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/nuttycom/32/9621_2.png) [@nuttycom](https://forum.zcashcommunity.com/u/nuttycom)\
**Post date:** [June 6, 2025, 4:26pm UTC](https://forum.zcashcommunity.com/t/zcashd-and-orchard-pool/51405/8 "2025-06-06T16:26:44Z")

</div>

Any address corresponding to the unified account to which the change belongs will allow you to spend that change. When you provide a unified address as the source of funds for `z_sendmany`, zcashd selects arbitrarily from among the notes received by that account, including change notes. There is not actually address-level control over which shielded notes are spent; the address is just used to look up the account.

---

<div class="post-metadata">

**Author:** ![postfix1](https://avatars.discourse-cdn.com/v4/letter/p/fbc32d/32.png) [@postfix1](https://forum.zcashcommunity.com/u/postfix1)\
**Post date:** [June 6, 2025, 4:46pm UTC](https://forum.zcashcommunity.com/t/zcashd-and-orchard-pool/51405/9 "2025-06-06T16:46:31Z")

</div>

Thanks a ton! Got it. You can specify any address in the account. Zcash will select the notes for the transaction by itself.  
But is it correct that a note is essentially an unspent output?  
If yes, then why can the list of unspent outputs (z\_listunspent) in the Orchard pool not match the number of notes (z\_getnotescount) . i used only orchard pool?

---

<div class="post-metadata">

**Author:** ![nuttycom](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/nuttycom/32/9621_2.png) [@nuttycom](https://forum.zcashcommunity.com/u/nuttycom)\
**Post date:** [June 6, 2025, 7:47pm UTC](https://forum.zcashcommunity.com/t/zcashd-and-orchard-pool/51405/10 "2025-06-06T19:47:26Z")

</div>

I was able to reproduce this; it looks like this is a bug in `z_getnotescount` and, surprisingly, nobody has ever reported this before. It looks like `z_getnotescount` is returning the total number of Orchard notes, including spent notes, whereas `z_listunspent` only includes unspent notes. As far as I can tell `z_getnotescount` is not very useful and so is pretty rarely used; this is likely why nobody had noticed (or at least, nobody had reported) the bug before.

I’ve created [`z_getnotescount` returns results inconsistent with `z_listunspent` · Issue #7034 · zcash/zcash · GitHub](https://github.com/zcash/zcash/issues/7034) to track this.
