Opcodes are used in Bitcoin Scripts to represent commands or methods. Below you can find the value of the op_0 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_0 | |
Integer value | 0 |
Hex value | 0x00 |
Python code representation as used Bitcoinlib
# Representation of Bitcoin script number. Value between 0 and 16 # Numeric value 0 Stack.op_0