@georgeroman/evm-tx-simulator
v0.0.38
Published
Simulate any potential EVM transaction
Downloads
68,745
Readme
evm-tx-simulator
Simulate balance changes (ETH
, ERC20
, ERC721
and ERC1155
) resulted from running any potential EVM transaction.
Run via npx ts-node ./src/index.ts
(see below an example output).
{
"0x0cccd55a5ac261ea29136831eeaa93bfe07f5db6": {
"tokenBalanceState": {
"native:0x0000000000000000000000000000000000000000": "-990000000000000",
"erc721:0x57f1887a8bf19b14fc0df6fd9b2acc9af147ea85:10530676464258429157976288980766951099646391566276924398001212535050412393470": "1"
}
},
"0x845bd54015813fda33f11e1f261ebc360983e584": {
"tokenBalanceState": {
"native:0x0000000000000000000000000000000000000000": "965250000000000",
"erc721:0x57f1887a8bf19b14fc0df6fd9b2acc9af147ea85:10530676464258429157976288980766951099646391566276924398001212535050412393470": "-1"
}
},
"0x8de9c5a032463c561423387a9648c5c7bcc5bc90": {
"tokenBalanceState": {
"native:0x0000000000000000000000000000000000000000": "24750000000000"
}
}
}