OP_EQUALVERIFY

(136 | 0x88)

Input

2 items

|

Output

0 items

One of the most commonly-used op_codes since basically every script checks for some form of equality. The biggest difference between OP_EQUALVERIFY & OP_EQUALS is that former does NOT push anything onto the stack. It either returns an error (if 0 or empty) or is otherwise uneventfully consumed.

OP_Code Walkthrough

Checks for equivalency, errors out if false

Pop top item

Pop top item

Verify equality, if true (anything other than 0), do nothing, if false error out

Continue script operations