call smart contract function
viet97 opened this issue · 2 comments
i have a function name payToMint provide by my smart contract.
const contract = new web3.eth.Contract(abi, contractAddress); contract.methods.payToMint(walletAddress, uri).send({ from: walletAddress, value: Moralis.Units.ETH(0.001) }).then(response => { console.log("response", response) })
do anyone how to solve this problem ? please help me. thanksss!
i have a function name payToMint provide by my smart contract.
const contract = new web3.eth.Contract(abi, contractAddress); contract.methods.payToMint(walletAddress, uri).send({ from: walletAddress, value: Moralis.Units.ETH(0.001) }).then(response => { console.log("response", response) })
do anyone how to solve this problem ? please help me. thanksss!
Have you soved this ?
i have a function name payToMint provide by my smart contract.
const contract = new web3.eth.Contract(abi, contractAddress); contract.methods.payToMint(walletAddress, uri).send({ from: walletAddress, value: Moralis.Units.ETH(0.001) }).then(response => { console.log("response", response) })
do anyone how to solve this problem ? please help me. thanksss!
Have you soved this ?
Yes i've