I am trying to extract the data out of a packed transaction. Specifically, I am reading a proposal
from the eosio.msig
table and trying to get the data from the proposed multisig transaction to validate it.
Here's the code
eosio::multisig::proposals proptable( "eosio.msig"_n, proposer.value );
auto& prop = proptable.get( proposal_name.value, "proposal not found" );
where now prop.packed_transaction
holds the packed transaction.
I think I might need to use prop.packed_transaction.data()
but I am not sure what this is returning and I can't find any documentation.