Bitcoin Script

Bitcoin Script

A stack-based scripting language embedded in Bitcoin transactions. When Bitcoins are sent to a recipient, Script commands in an unlocking script (scriptSig) validate the available Bitcoins (UTXOs), while Script commands in a locking script (scriptPubKey) set the conditions for spending them. See stack.


Inputs Are Unlocked and Outputs Are Locked
The unlocking script validates the Bitcoin inputs, and the locking script sets the conditions for spending the transferred coins. For more details, see Bitcoin transaction.
Copyright © 1981-2025 by The Computer Language Company Inc. All Rights reserved. THIS DEFINITION IS FOR PERSONAL USE ONLY. All other reproduction is strictly prohibited without permission from the publisher.
Mentioned in
Copyright © 2003-2025 Farlex, Inc Disclaimer
All content on this website, including dictionary, thesaurus, literature, geography, and other reference data is for informational purposes only. This information should not be considered complete, up to date, and is not intended to be used in place of a visit, consultation, or advice of a legal, medical, or any other professional.