Sending ether to smart contract

Hello @cryptokid, how do you pass ether to a payable smart contract function from the frontend when using the moralis runContractFunction?

Hi @zoe619

runContractFunction is only for calling the read-only contract function. You will have to use ether.js package for calling the payable functions.