I am having trouble calling a simple function from my solidity contract. Here’s how the code is structured so far: In my web3Api.js file I have: Then in my projectApi.js file I have: Note: When I call the global variable throughout this file it successfully returns all my contract’s functions So this next part is where I’m running into trouble.