Opcodes · arithmetic · enabled
OP_NUMEQUALVERIFY (0x9d)
OP_NUMEQUAL then OP_VERIFY: fails unless the numbers are equal. Since May 2025 numbers may be up to 10,000 bytes long (BigInt).
Verified
- Stack in → out
- a b → ∅
- Since
- Original Bitcoin script
- Cost
- Base instruction cost 101: 100 plus the 1-byte true result it pushes and then pops.
- Bitcoin status
- Same in Bitcoin (BTC)BTC limits arithmetic inputs to 4 bytes.
Example
OP_2 OP_2 OP_NUMEQUALVERIFY Step through it opcode by opcode in Bitauth IDE, the in-browser BCH VM debugger.