How to Estimate Gas for createListing #1378
Unanswered
ekhishigee
asked this question in
Q&A
Replies: 1 comment 3 replies
-
Create listing does not use any gas, as it is an off chain action (unless you have to approve the contract first). You can check if the connected wallet has the sufficient funds with provider.getBalance for native token and balanceOf for ERC20s |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I would like to learn how to estimate gas for creating listings. This knowledge is essential for preventing insufficient gas errors when the wallet balance is insufficient for creating listings.
Beta Was this translation helpful? Give feedback.
All reactions