1 opcode

op_1 bitcoin script command

Opcodes are used in Bitcoin Scripts to represent commands or methods. Below you can find the value of the op_1 code and an implementation in Python. A bitcoin script works with a stack of items. The op_code representing a method, usually takes or puts 1 or more items from the top of the stack.

OP_1
Integer value 81
Hex value 0x51

Python code representation as used Bitcoinlib

# Representation of Bitcoin script number. Value between 0 and 16
# Numeric value 1
Stack.op_1

Links to related method