[x] I can reproduce the issue with the latest SDK release, and my server is updated to the latest version.
Issue Description
When using moralis/node, Moralis.Web3API.native.runContractFunction will always return "Error: ABI is required!" because MoralisWeb3Api.js > fetchFromApi() do not actually send the request body in the axios request due to a misconfiguration.
Error: ABI is required!
at Function.fetchFromApi (C:\workspace\nodejs\xxxxx\node_modules\moralis\lib\node\MoralisWeb3Api.js:200:13)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async runMoaCultivationFunction (webpack-internal:///./src/app/web3/helpers/moralis-node.js:46:20)
at async getServerSideProps (webpack-internal:///./pages/moa/[tokenId].js:747:190)
at async Object.renderToHTML (C:\workspace\nodejs\xxxxx\node_modules\next\dist\server\render.js:573:20)
at async doRender (C:\workspace\nodejs\xxxxx\node_modules\next\dist\server\base-server.js:912:38)
at async cacheEntry.responseCache.get.isManualRevalidate.isManualRevalidate (C:\workspace\nodejs\xxxxx\node_modules\next\dist\server\base-server.js:1017:28)
at async C:\workspace\nodejs\xxxxx\node_modules\next\dist\server\response-cache.js:69:36
Expected Outcome
Contract Function successfully executed and return the result.
New Bug Report
Checklist
Issue Description
When using moralis/node, Moralis.Web3API.native.runContractFunction will always return "Error: ABI is required!" because MoralisWeb3Api.js > fetchFromApi() do not actually send the request body in the axios request due to a misconfiguration.
Steps + code to reproduce
Actual Outcome
Expected Outcome
Contract Function successfully executed and return the result.
Environment
Server
12.2.2
1.8.1
Windows 10
Logs
N/A