bypassPaymasterAndDataEmptyHex
Defined in: aa-sdk/core/src/utils/userop.ts:183
An alternative to bypassPaymasterAndData which only returns true if the data parameter
is “0x,” this is useful for cases when middleware should be bypassed ONLY IF the UserOp will
pay for its own gas
Type Parameters
Parameters
Returns
boolean
whether the paymaster middleware should be bypassed