Skip to content
On this page

OP_PUSHBYTES_49 ​

INFO

Opcode number: 49
Byte representation: 0x31
Short Description: Push the next 49 bytes onto the stack.

The OP_PUSHBYTES_49 opcode will push the following 49 bytes onto the stack. It's part of a group of opcodes that push a specific number of bytes onto the stack, from OP_PUSHBYTES_1 to OP_PUSHBYTES_75.

Example ​

shell
# ASM script
OP_PUSHBYTES_49 a4b5c6d7e8f90a1b2c3d4e5fa0b1c2d3e4f56a7b8c9da0b1c2d3e4f57a8b9c0d1e2fa3b4c5d6e7f89a0b1c2d3e4fa5b6c7

# Raw script
31a4b5c6d7e8f90a1b2c3d4e5fa0b1c2d3e4f56a7b8c9da0b1c2d3e4f57a8b9c0d1e2fa3b4c5d6e7f89a0b1c2d3e4fa5b6c7

# Final stack
a4b5c6d7e8f90a1b2c3d4e5fa0b1c2d3e4f56a7b8c9da0b1c2d3e4f57a8b9c0d1e2fa3b4c5d6e7f89a0b1c2d3e4fa5b6c7