Skip to content

Commit

Permalink
Update paymastermethods.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Aboudjem authored Dec 7, 2023
1 parent d715002 commit a337e83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/Paymaster/paymastermethods.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ const feeQuotesResponse = await biconomyPaymaster.getPaymasterFeeQuotesOrData(us

:::warning

**_Important:_** When using **Token Paymaster** with ERC20 tokens like USDC, always ensure to calculate the **feeQuote** correctly. This is crucial to avoid transaction reverts due to insufficient token balance after execution. The `feeQuote` should account for both the transaction cost and any other **token** movements within the same operation.
**_Important:_** When using **Token Paymaster** with ERC20 tokens, always ensure to calculate the **feeQuote** correctly. This is crucial to avoid transaction reverts due to insufficient token balance after execution. The `feeQuote` should consider both the transaction cost and any other **token** movements within the same operation.

_Example:_ If a user is transacting with **USDC**, and the feeQuote is **2 USDC**, the DApp must ensure that the user's balance post-callData execution is sufficient to cover this fee. Incorrect fee calculations can lead to transaction failures and a degraded user experience.

Expand Down

0 comments on commit a337e83

Please sign in to comment.