Opcodes · crypto · enabled

OP_CHECKDATASIGVERIFY (0xbb)

OP_CHECKDATASIG followed by OP_VERIFY.

Verified
Stack in → out
sig msg pubkey → ∅
Cost
Base instruction cost 101 (including the 1-byte true result it pushes and then pops) plus 26,000 per signature check, plus hashing cost for the message (2025 VM limits).
Bitcoin status
Not in Bitcoin (BTC)In Tapscript (BIP-342) this byte is an OP_SUCCESSx code reserved for future soft forks.

Example

<sig> <msg> <oracle_pubkey> OP_CHECKDATASIGVERIFY

Step through it opcode by opcode in Bitauth IDE, the in-browser BCH VM debugger.

Sources

  1. BCHN upgrade specs: OP_CHECKDATASIG
  2. Libauth BCH_2023_05 opcodes (bch-2023-opcodes.ts)
  3. BIP-342: Validation of Taproot Scripts
  4. BCHN script interpreter (interpreter.cpp)