Web3 API - Error 500 for /{address}/events endpoint

Hi there,

I’ve been making POST calls to the Web3 API endpoint /{address}/events however I am now recieving error 500. The same curl call was working up to 2021-11-22 16:50 UTC.

Manual requests using postman, my implementation and also the moralis portal all report the same.

curl -X 'POST' \
  'https://deep-index.moralis.io/api/v2/0x27Ae27110350B98d564b9A3eeD31bAeBc82d878d/events?chain=bsc&topic=Transfer%28%20address%2C%20address%2C%20unit256%20%29' \
  -H 'accept: application/json' \
  -H 'X-API-Key: <REMOVED>' \
  -H 'Content-Type: application/json' \
  -d '{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"}'

1 Like

it looks like it doesn’t work for me either, we are going to investigate, thanks for reporting

do you have spaces in that topic? (the topic shouldn’t have spaces)

Cheers for looking at it!

Yes in that example i had put spaces. Just checked my code and i dont have spaces. Just a mix up when i was provided the examples :sweat_smile:

does it work now for you?

Sorry about the delay! Yes all appears to be working now! thanks for your help!

1 Like