We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
useWeb3ExecuteFunction
Add the option to set the gasLimit when use the useWeb3ExecuteFunction hook
I cannot run my function on the chain caused by :
cannot estimate gas; transaction may fail or may require manual gas limit
Add in the option:
const { data, error, fetch, isFetching, isLoading } = useWeb3ExecuteFunction({ abi: abi, contractAddress: raffleAddress!, functionName: "placeBet", params: { _roomSize: roomSize, }, msgValue: ethers.utils.parseEther(bet.toString()).toString(), gasLimit:xxxx, // new param })
The text was updated successfully, but these errors were encountered:
No branches or pull requests
New Feature Request
Add the option to set the gasLimit when use the
useWeb3ExecuteFunction
hookChecklist
Current Limitation
I cannot run my function on the chain caused by :
Feature / Enhancement Description
Add in the option:
Example Use Case
Alternatives / Workarounds
3rd Party References
The text was updated successfully, but these errors were encountered: