Can't make transaction for registering stake address (BadInputsUTxO)

Ok my understanding of --tx-in and --tx-out values was completely wrong. Here the reason in case noobs like me find this thread : :slight_smile:
–tx-in has to be the Hash ID of your payment account, as returned by command “cardano-cli query uxto”. So both tx-in and tx-out refer to the same address.
Thank you for your answers :relaxed: