OP_NUMEQUALVERIFY

(157 | 0x9d)

Input

2 items

|

Output

0 items

OP_NUMEQUALVERIFY is similar to OP_NUMEQUAL but with an additional verification step. It performs the same numerical equality check and then executes an OP_VERIFY, meaning that the script will only continue if the comparison is true. This opcode is used in scripts where an equality check is crucial to the script's subsequent operations.

OP_Code Walkthrough

Compares the top two items of the stack for equality, stops executing if false

Pop Top Item a

Pop Top Item b

Check if a is equal to b, if not, script fails