---
title: "OP_IF / OP_NOTIF — Nuri Glossary"
description: "Conditional branching in Script, which is how HTLCs express \"claim with secret or refund after time\"."
lang: "en"
type: "glossary-term"
canonical: "https://preview.nuri.com/glossary/op-if"
---

# OP_IF / OP_NOTIF

Conditional branching in Script, which is how HTLCs express "claim with secret or refund after time".

Part of the [Nuri glossary](https://preview.nuri.com/glossary), which defines 1774 Bitcoin, Lightning, wallet, stablecoin and payment terms.
