Hi,
I am having some difficulty watching contract events - below is the abi for the event and contract address I am trying to watch:
Contract: 0xff98372Ef0f94a0bbb9E530A97432EA9fff10B4D
ABI:
{ "anonymous": false, "inputs": [ { "indexed": false, "internalType": "uint256", "name": "listingId", "type": "uint256" } ], "name": "Sale", "type": "event" }
The contract is deployed to Polygon Mumbai, and has many historical events that should be available.
I have tried setting the topic to Sale(uint256) as well as the hash of the topic as read from mumbai.polygonscan.com.
The class appears as expected in the dashboard but with 0 events (and no errors that I can see). I followed the moralis docs/youtube video but not getting anything.
Does my ABI look suitable for this task? Does Moralis require indexed: true in order to watch events?
I have checked quite a few related questions on the forums (including updating/restarting coreservices and the server itself) but nothing was working for me.
Any help is greatly appreciated,
Thanks,