Opcodes · introspection · enabled
OP_OUTPOINTINDEX (0xc9)
Pushes the output index of the outpoint spent by input i. Fails if the index is out of range.
Verified
- Stack in → out
- i → n
- 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_0 OP_OUTPOINTINDEX Step through it opcode by opcode in Bitauth IDE, the in-browser BCH VM debugger.