Open hgedia opened 2 months ago
@hgedia Please can you assign this to me.
@hgedia Proposal submitted. Please can you put this issue under review or something similar?
hey @YashBit - your current proposal is taking a different route - so will leave this open and in existing state.
Summary
Transactions can result in a series of account updates. Account updates can include token transfers, state updates, and changing delegation. These updates can be seen in the JSON file created by
toPretty()
function call on the transaction object.Ex:
Output:
This transacation has two account updates
The output of the tx, if it is accepted by the network, will be that an event with the value 1 is emitted by the contract.
These JSON documents are harder to read as the transactions get more complicated(see Other accounts raw.).
A tool could be built (as a start to locally) to generate the account update JSON and have these updates visualized and easy to navigate/understand. For developers it's more useful to visualize a transaction without having to send it. And this can be expanded to support wallets or block explorers.
Submitted by 45930
Resources