blockchainmoralis

What is the difference between "executeFunction" and "runContractFunction" in moralis?


I have been reading both and find similarities, which one would you recommend to use?

https://docs.moralis.io/moralis-server/web3-sdk/native#runcontractfunction https://docs.moralis.io/moralis-server/web3/web3#executefunction


Solution

  • "certainly 🙌 executeFunction is available for .call and .send web3 methods, but runContractFunction is read-only or .call"

    Credits: YNikolasKS#6428