What are transaction introspection opcodes in Kaspa?

Transaction introspection opcodes are scripting commands that let a Kaspa script examine details about the transaction it is part of — such as metadata, input properties, and output properties. In most older blockchain scripting systems, a script can only check signatures and simple conditions; it cannot "look inward" at the transaction itself. Kaspa's KIP-10 adds opcodes that break this limitation, allowing scripts to query what a transaction contains before deciding whether to approve it. This matters for beginners because it unlocks more powerful and flexible smart-contract-style conditions on Kaspa without requiring a full smart-contract platform.

Learn more ›