Get all bytecode of transacation on predicate contract

I need to get all bytes of a transaction in my Sway code, but I’m not sure if this code is correct.
What would be the pointer that points to the beginning of the transaction bytecode?

2 Likes

I’m trying another VM operation that I found here: gm operator reference

I can retrieve all the transaction data, but it comes with all bytes set to zero.

the code
to understand the context


3 Likes