alchemy_simulateUserOperationAssetChanges

Simulates user operations and returns a list of asset changes.

Path parameters

apiKeystringRequired

Request

This endpoint expects an object.
UserOperationobjectRequired

User operation to simulate. The signature can be a dummy value; it doesn’t need to be valid.

entryPointstringRequiredformat: "^0x[0-9a-fA-F]{40}$"

EntryPoint address used for simulation. Must be from supportedEntryPoints.

blockNumberstringRequiredformat: "^0x([1-9a-f]+[0-9a-f]*|0)$"

Optional block number for context of simulation. Defaults to latest.

Response

Object containing simulated asset changes and any potential errors.

changeslist of objectsOptional
errorobjectOptional