I’m trying to call a function from my smart contract with runContractFunction. It works on a read only function to retrieve data but not on write functions. How could I call a contract function that is not read-only. I’m trying to call a function in my smart contract that allows me to buy an NFT (priority transfer)
For write functions you will have to use web3 or ethers that will use MetaMask or other wallet application to send that transaction.