user140389: Dear Bitcoin Community members. I am using Bitcoin Core version v24.0.1.
I have recieved funds to this address: bc1qfewsp4zw738qd26a5wsgsq3j8hmjau5zz4d8je
I have sent funds using SendMany function with this txId:
ec5b35a5f0e237781f5d47d39e3fc3bf06f99edfe5670c2496b4e2748bfcc661
It seems my funds not sent from the address that I have received and sender address not belong to any of address I have seen in my wallet.
Despite that I have made many successful transactions, today I have noticed, one of my transaction received by one address, and sent by another! However there is no internal transactions.
When I search by blockchain explorer, I don`t see any connection about fund!
What could be the problem? I have asked ChatGtp, he has warned if my account is compromised!.
Kind Regards

user139612: The sendmany RPC takes a JSON object of key-value pairs, where the key is the bitcoin address you are sending to and the value is the amount to send to that address. The inputs are automatically chosen by the wallet. For more information, check bitcoin-cli help sendmany.
If you want to specify which UTXOs to use as inputs in a transaction, you can use the send RPC and pass a list of inputs in the options object. You will need to know the transaction ids and vouts of the UTXOs you want to spend, which you can get by running bitcoin-cli listunspent. See bitcoin-cli help send and bitcoin-cli help listunspent for more information and examples.
With regards to your transaction, I can see that you specified three outputs to spend to and your wallet automatically chose an input to fund the transaction.

140389: <p>Dear Bitcoin Community members. I am using Bitcoin Core version v24.0.1.
I have recieved funds to this address: bc1qfewsp4zw738qd26a5wsgsq3j8hmjau5zz4d8je</p>
<p>I have sent funds using SendMany function with this txId:
ec5b35a5f0e237781f5d47d39e3fc3bf06f99edfe5670c2496b4e2748bfcc661</p>
<p>It seems my funds not sent from the address that I have received and sender address not belong to any of address I have seen in my wallet.</p>
<p>Despite that I have made many successful transactions, today I have noticed, one of my transaction received by one address, and sent by another! However there is no internal transactions.</p>
<p>When I search by blockchain explorer, I don`t see any connection about fund!</p>
<p>What could be the problem? I have asked ChatGtp, he has warned if my account is compromised!.</p>
<p>Kind Regards</p>
 139612: <p>The <code>sendmany</code> RPC takes a JSON object of key-value pairs, where the key is the bitcoin address you are sending to and the value is the amount to send to that address. The inputs are automatically chosen by the wallet. For more information, check <code>bitcoin-cli help sendmany</code>.</p>
<p>If you want to specify which UTXOs to use as inputs in a transaction, you can use the <code>send</code> RPC and pass a list of inputs in the <code>options</code> object. You will need to know the transaction ids and vouts of the UTXOs you want to spend, which you can get by running <code>bitcoin-cli listunspent</code>. See <code>bitcoin-cli help send</code> and <code>bitcoin-cli help listunspent</code> for more information and examples.</p>
<p>With regards to your transaction, I can see that you specified three outputs to spend to and your wallet automatically chose an input to fund the transaction.</p>
