Opcodes · introspection · enabled
OP_ACTIVEBYTECODE (0xc1)
Pushes the bytecode being evaluated, starting after the last executed OP_CODESEPARATOR. For P2SH it is the redeem bytecode.
Verified
- Stack in → out
- ∅ → bytecode
- Cost
- Base instruction cost 100 plus the byte length of the pushed result (2025 VM limits).
- Bitcoin status
- Not in Bitcoin (BTC)BTC has no native introspection opcodes. In Tapscript (BIP-342) this byte is an OP_SUCCESSx code reserved for future soft forks.
Example
OP_ACTIVEBYTECODE OP_HASH160 Step through it opcode by opcode in Bitauth IDE, the in-browser BCH VM debugger.