Open Belingheri opened 1 year ago
Add the option to set the gasLimit when use the useWeb3ExecuteFunction hook
useWeb3ExecuteFunction
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 })
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