bypassPaymasterAndData

1function bypassPaymasterAndData<TEntryPointVersion>(overrides): boolean;

Defined in: aa-sdk/core/src/utils/userop.ts:166

Utility method for checking whether the middleware pipeline should bypass the paymaster middleware for the user operation with the given overrides, either because the UserOp is paying for its own gas, or passing a specific paymaster

Type Parameters

Type ParameterDefault type

TEntryPointVersion extends EntryPointVersion

EntryPointVersion

Parameters

ParameterTypeDescription

overrides

any

the user operation overrides to check

Returns

boolean

whether the paymaster middleware should be bypassed