1
  1. Is it possible to write a script that would allow withdrawal of money only to a specific address?

  2. Is it possible to write a script that would allow withdrawal only specific amount?

Any examples ? Thanks!

1 Answer 1

3

Bitcoin script has no way to get information about the outputs of a transaction spending it, so no, neither of those things are possible. If you want withdrawal only to a specific address, why not just send to that address the desired amount in the first place and save yourself a transaction fee?

Your Answer

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

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