pimlico_simulateAssetChanges
Simulates a user operation to predict the asset changes it will cause. Shows all balance changes and shows all balance changes including native currency, ERC-20, ERC-1155, and ERC-721 tokens. This method uses 4950 credits from your daily balance.
info
This method does not support v0.6 user operations.
Parameters
-
userOperation: (object) - The user operation object with the same format aseth_estimateUserOperationGas:sender: (string) - The address of the account making the operation.nonce: (string) - The account nonce.callData: (string) - The data to pass to the sender during the main execution call.callGasLimit: (string) [optional] - The amount of gas to allocate the main execution call.verificationGasLimit: (string) [optional] - The amount of gas to allocate for the verification step.preVerificationGas: (string) [optional] - The amount of gas to pay for to compensate the bundler.maxFeePerGas: (string) [optional] - Maximum fee per gas, in wei, the sender is willing to pay per gas.maxPriorityFeePerGas: (string) [optional] - Maximum priority fee per gas above the base fee.paymasterVerificationGasLimit: (string) [optional] - Gas for paymaster verification step.paymasterPostOpGasLimit: (string) [optional] - Gas for paymaster post-operation step.signature: (string) - Must be a valid dummy signature for simulation.
-
entryPoint: (string) - The EntryPoint contract address. -
blockNumber: (string) [optional] - Hex encoded block number to run the simulation at (defaults tolatest).