View Source BitcoinLib.Script.Opcodes.Stack.ToAltStack (BitcoinLib v0.4.7)
Based on https://en.bitcoin.it/wiki/Script
Word OP_TOALTSTACK Opcode 107 Hex 0x6b Input x1 Output (alt)x1 Puts the input onto the top of the alt stack. Removes it from the main stack.
Link to this section Summary
Functions
Returns <<0x6b>>
Callback implementation for BitcoinLib.Script.Opcode.execute/2
.
Returns 0x6b
Link to this section Functions
Returns <<0x6b>>
examples
Examples
iex> BitcoinLib.Script.Opcodes.Stack.ToAltStack.encode()
<<0x6b>>
Callback implementation for BitcoinLib.Script.Opcode.execute/2
.
@spec v() :: 107
Returns 0x6b
examples
Examples
iex> BitcoinLib.Script.Opcodes.Stack.ToAltStack.v()
0x6b