Opcodes · introspección · habilitado

OP_TXVERSION (0xc2)

Apila la versión de la transacción.

Verificado
Pila: entrada → salida
∅ → version
Costo
Base instruction cost 100 plus the byte length of the pushed result (2025 VM limits).
Estado en Bitcoin
No existe en Bitcoin (BTC)BTC has no native introspection opcodes. In Tapscript (BIP-342) this byte is an OP_SUCCESSx code reserved for future soft forks.

Ejemplo

OP_TXVERSION OP_2 OP_NUMEQUAL

Recórrelo opcode por opcode en Bitauth IDE, el depurador de la VM de BCH en el navegador.

Fuentes

  1. CHIP-2021-02 Native Introspection Opcodes
  2. Libauth BCH_2023_05 opcodes (bch-2023-opcodes.ts)
  3. CHIP-2021-05 VM Limits: Targeted Virtual Machine Limits