AA21 Didn’t pay prefund

The sender did not pay the EntryPoint


The sender did not have enough to prefund the EntryPoint for the user operation.

After the user operation is executed, the remainder of the prefund is credited back to the sender.



Solutions

  1. If you aren't using a paymaster, check that the account has enough ETH to pay for the user operation.
  2. If you are using a paymaster, check that the paymaster and data fields are set.