EntryPoint
XaiAdd 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});