I have created below transaction:


This is P2SH-P2WPKH signed transaction created by my python program. My intention is to validate my code without loosing bitcoins in the process. I did not find an option in bitcoin-cli to validate it. If there is any open source bitcoin client or online tool i can use to validate it, it will help in my testing.

1 Answer 1


You can use the testmempoolaccept RPC command if you're spending an existing output.

But setting up a regtest to make fake transaction is preferable.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.