Opcodes · función · habilitado

OP_INVOKE (0x8a)

Extrae un identificador de función y ejecuta el bytecode de esa función sobre la pila actual; luego continúa después de OP_INVOKE. Falla si ninguna función tiene ese identificador. Este byte era OP_RESERVED2 antes de mayo de 2026.

Verificado
Pila: entrada → salida
… id → …
Costo
Base instruction cost 100, plus the cost of every instruction the function runs. Each call uses a control-stack frame (depth limit 100).
Estado en Bitcoin
No existe en Bitcoin (BTC)0x8a is OP_RESERVED2 in BTC; an OP_SUCCESS code in Tapscript.

Ejemplo

<OP_DUP OP_MUL> OP_0 OP_DEFINE OP_3 OP_0 OP_INVOKE OP_9 OP_EQUAL

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

Fuentes

  1. CHIP-2025-05 Functions: Function Definition and Invocation Operations
  2. Libauth BCH_2026_05 opcodes (bch-2026-opcodes.ts)
  3. Announcing Bitcoin Cash Node v29.0.0