const defaultGasEstimator: <C>(client) => ClientMiddlewareFn;Defined in: aa-sdk/core/src/middleware/defaults/gasEstimator.ts:19
Description default gas estimator middleware for SmartAccountClient
You can override this middleware with your custom gas estimator middleware
by passing it to the client constructor
| Type Parameter |
|---|
|
| Parameter | Type | Description |
|---|---|---|
|
| smart account client instance to apply the middleware to |
middleware execution function used to estimate gas for user operations