Contract address
Encodes function data for handleOps
Encodes the function data for handling user operations.
The user operation to encode
Gas limit for the main execution call
Maximum total fee per gas unit
Maximum priority fee per gas unit
Account nonce
Gas overhead for pre-verification operations
Gas limit for the verification phase
The address that will receive the gas refund
The encoded function data as a hex string
Gets the nonce for an account
Retrieves the nonce for a smart account at the specified key.
The address of the smart account
Optional key for the nonce, defaults to 0n
The current nonce value as a bigint
Simulates handling a user operation
Simulates the execution of a user operation. This method always reverts by design, and the execution result is parsed from the revert data.
The simulation parameters
Parameters for the simulateHandleOp method
Optional
stateOverrides?: StateOverrideSetOptional state overrides to modify blockchain state during simulation
The target contract address for the simulation
The calldata to be executed on the target contract
The user operation to simulate
Gas limit for the main execution call
Maximum total fee per gas unit
Maximum priority fee per gas unit
Account nonce
Gas overhead for pre-verification operations
Gas limit for the verification phase
The execution result containing validation and execution details
ParseError if the error data cannot be parsed
SimulateHandleOpError if the simulation fails with an error
Interface for EntryPoint v0.6.0 contract interactions.