Bitcoin

Transaction – What are examples of usage of script pseudo-words?

On bitcoin.it you can see:


doctor word

These words are used internally to support transaction matching. It is not valid if used in an actual script.

wordOperation codewitchexplanation
OP_PUBKEYHASH2530xfdIndicates the public key hashed with OP_HASH160.
OP_PUBKEY2540xfeIndicates a public key compatible with OP_CHECKSIG.
OP_INVALIDOPCODE2550xffMatches any opcode that has not yet been assigned.

What is transaction matching?

How can these codes be used in practice?

Related Articles

Back to top button