alchemyUserOperationSimulator

Defined in: account-kit/infra/dist/types/middleware/userOperationSimulator.d.ts:26

A middleware function to be used during simulation of user operations which leverages Alchemy’s RPC uo simulation method.

Example

Type Parameters

Type ParameterDefault type

TContext extends undefined | UserOperationContext

undefined | UserOperationContext

Parameters

ParameterTypeDescription

transport

AlchemyTransport

An Alchemy Transport that can be used for making RPC calls to alchemy

Returns

ClientMiddlewareFn<TContext>

A middleware function to simulate and process user operations