RPC response
Asset and balance changes are always returned as part of the response when you call both thetenderly_simulateTransaction (single simulation) and the tenderly_simulateBundle (bundled simulations) RPC methods. See the RPC Reference.
- Asset Changes: Look under
result.assetChanges. This will provide a breakdown of how assets have been altered or moved during the transaction. - Balance Changes: Find these under
result.balanceChanges. This offers insights into the balance fluctuations in token and dollar values.
example.json
API response
Asset and balance changes are also returned as part of the API response when you call thesimulate (single simulations) endpoint:
simulate-bundle (bundled simulations) endpoint:
- Asset Changes: Find
transaction.transaction_info.asset_changes. Here, you’ll find details like the type of change (transfer, mint, burn), involved addresses, and the amount in both the token and its dollar value. - Balance Changes: Find
transaction.transaction_info.balance_changes. This section will show you how balances have shifted as a result of the transaction in token and dollar terms.
example.json