I am trying to use the getContractEvents(https://docs.moralis.io/moralis-dapp/web3-api/native#getcontractevents) function but it does not work. I have tested the function in Postman and in your Web3APIs documentation(https://admin.moralis.io/web3apis). The curl POST request is exactly the same as the example yet, it does not work. I get a 500 error.
can you give more info about your example?
Sure. I am trying to get a list of the poolCreated events from a uniswap factory contract. When that wasn’t working, I tried to just recreate the example provided in the documentation(https://admin.moralis.io/web3apis). I tried this on 3 different platforms:
*Postman
*linux terminal
*moralis web3APIs page(https://admin.moralis.io/web3apis)
I used the exact values provided in the example(excluding my api key) and still got a 500 error on every platform.
Got it working. The problem was…We had reach our API call limit…Happy Friday!
1 Like