Is there a way to get data information of a random transaction using the API without knowing the addresses involved in it?
I'm interested in obtaining some plain hex data I encode in a transaction using sendwithdata.
I tried using gettxout and gettransaction but both seem to omit the data field
The command getaddresstransaction displays the hex data without problem, but I want to be able to get the data without the address involved.
I can get the data using getblock blocknumber 4 but this is really cumbersome, as the output is usually huge compared to what I need to read.