Opcodes · stack · enabled

OP_FROMALTSTACK (0x6c)

Moves the top item of the alternate stack to the main stack.

Verified
Stack in → out
∅ → x
Since
Original Bitcoin script
Cost
Base instruction cost 100 plus bytes pushed (2025 VM limits).
Bitcoin status
Same in Bitcoin (BTC)

Example

<1> OP_TOALTSTACK OP_FROMALTSTACK

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

Sources

  1. Libauth BCH_2023_05 opcodes (bch-2023-opcodes.ts)