Opcodes · push · enabled
OP_1 (0x51)
Pushes the number 1 (a one-byte 0x01), the standard true value.
Verified
- Stack in → out
- ∅ → 1
- Since
- Original Bitcoin script
- Cost
- Base instruction cost 100 plus the byte length of the pushed result (2025 VM limits).
- Bitcoin status
- Same in Bitcoin (BTC)
- Also known as
- OP_TRUE
Example
OP_1 OP_VERIFY Step through it opcode by opcode in Bitauth IDE, the in-browser BCH VM debugger.