EntryPoint
![](https://6dd478384bb9b0624200d7209cc14937.ipfscdn.io/ipfs/QmcxZHpyJa8T4i63xqjPYrZ6tKrt55tZJpbXcjSDKuKaf9/optimism/512.png)
Add Stake
(addStake)
payable
Use this function in your app
import { prepareContractCall, sendTransaction } from "thirdweb";
const transaction = await prepareContractCall({ contract, method: "function addStake(uint32 unstakeDelaySec) payable", params: [unstakeDelaySec]});const { transactionHash } = await sendTransaction({ transaction, account});