Alchemy Logo

bypassPaymasterAndData

function 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 ParameterDefault type

TEntryPointVersion extends EntryPointVersion

EntryPointVersion

ParameterTypeDescription

overrides

any

the user operation overrides to check

boolean

whether the paymaster middleware should be bypassed

Was this page helpful?