sender
address lacks sufficient native tokens for the user operation’s gas costs.
Potential Fixes
- If not using a paymaster, ensure the
sender
has enough native tokens. Use functions likegetRequiredPrefund
:
- To use a paymaster for gas fees, set the paymasterAndData field: