alchemy_simulateAssetChanges

Simulates a transaction and returns a list of asset changes.

Path parameters

apiKeystringRequired

Request

This endpoint expects an object.
transactionobjectRequired

Object describing the transaction to simulate.

Response

The asset changes resulting from the transaction simulation.

changeslist of objects
gasUsedstringOptional

The amount of gas used for the simulation

errorstringOptional

Error message if the transaction would revert, null otherwise