function isValidFactoryAndData<TEntryPointVersion>(request): boolean;Defined in: aa-sdk/core/src/utils/userop.ts:67
Utility method for asserting a UserOperationStruct has valid fields for the paymaster data
| Type Parameter | Default type |
|---|---|
|
|
| Parameter | Type | Description |
|---|---|---|
|
| a UserOperationRequest to validate |
boolean
a type guard that asserts the UserOperationStruct is a UserOperationRequest