Use PSBT instead of raw transaction:
Firstly, import the necessary descriptor to the wallet if it's not available (
command already provided).
Secondly, create a partially signed Bitcoin transaction:
createpsbt "[{\"txid\":\"<TXID>\",\"vout\":<N>}]" "[{\"<address1>\":<amount1>},{\"<address2>\":<amount2>}]"
Thirdly, process the psbt (
update, sign):
walletprocesspsbt "<PSBT from above command>"
Fourthly, finalize it:
finalizepsbt "<processed PSBT from above command>"
Lastly, send it to mempool:
sendrawtransaction "<signed raw transaction from above command>"
Hi, thanks for the answer, I have also tested without success, seems the wallet can't sign.
I read that is only supported in last core version 25 and for moments I can't try it because I only have 23 and is a testing node that I don't control.