How to send a transaction with multiple inputs

Hi, I see here:

and in the zcash client help, that z_sendmany allows only one input to be provided.

I see on the zcash blockchain explorer that there are transactions with multiple inputs:

https://explorer.zcha.in/transactions/e0664d18fa8be485d091f5a6bb28ddb24f15ab2a584d31888212a4976a52beb0

How does one create such a transaction?

1 Like

if it is a taddr->taddr transaction, the legacy bitcoin cli commands almost all still work, including sendtomany and sendtoaddress, both of which trivially can create txns with multiple inputs if you do not specify the address to send from.

1 Like

Hey, that might have used an experimental thing I wrote that’s not part of the API right now

This experimental command z_shield just takes as parameter an amount of ZEC,
and moves it from t-addrs in your wallet to a z-addr in your wallet

I’m wondering this too, how does it works?