This could be a noob question. While going through the community, I have seen some questions regarding packed transaction
. Can anyone explain what is a packed transaction
?
-
it's the current transaction packed in binary form to be accessible in the transaction itself– confused00Commented Nov 9, 2018 at 11:08
-
So, is that the output of 'abi_json_to_bin' RPC API?– MuhzinCommented Nov 12, 2018 at 3:22
Add a comment
|
1 Answer
A packed transaction is one where the transaction structure is converted from the JSON format into a packed binary format. In the C++ code in EOS, this is done using Boost. The abi_json_to_bin
method is used to pack smart contract method arguments into a packed format. Packing a transaction uses a similar process.