View Source BitcoinLib.Script.Opcodes.Constants.Thirteen (BitcoinLib v0.4.7)
Based on https://en.bitcoin.it/wiki/Script
Word OP_13 Opcode 93 Hex 0x5d Input Nothing Output 13 The number 13 is pushed onto the stack.
Link to this section Summary
Link to this section Functions
@spec encode() :: <<_::8>>
Returns <<0x5d>>
examples
Examples
iex> BitcoinLib.Script.Opcodes.Constants.Thirteen.encode()
<<0x5d>>
The number 13 is pushed onto the stack.
examples
Examples
iex> BitcoinLib.Script.Opcodes.Constants.Thirteen.execute(
...> %BitcoinLib.Script.Opcodes.Constants.Thirteen{},
...> [3]
...> )
{:ok, [13, 3]}
@spec v() :: 93
Returns 0x5d
examples
Examples
iex> BitcoinLib.Script.Opcodes.Constants.Thirteen.v()
0x5d