listItem Event not syncing

Greetings All!

I setup sync and watch events with the UI. The address was fine, the abi detected the events, but for some reason the events won’t show up in my server, however the server does detect each NFTTransaction connected to the address. I’m looking to sync the listItem event, just doesn’t seem to be working. Any ideas? My server URL is: https://hq7xmfiw4znu.usemoralis.com:2053/server

Hello can you post your event sync settings here (address, chain, ABI, topic name, historical sync etc.). Are you saying new events aren’t showing in your database?

Unfortunately I’m unable to sync any events at all. There is no historical data. The functions are working perfectly in the browser. All data is logging correctly, no errors, but also no logged events in moralis.

address: 0xb91F405564C46ee35B9C70253c6ee64Be9EB3A66
chain: Polygon Mumbai

{
          "internalType": "address",
          "name": "nftAddress",
          "type": "address"
        },
        {
          "internalType": "uint256",
          "name": "tokenId",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "price",
          "type": "uint256"
        }
      ],
      "name": "listItem",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    }

Topic: listItem(address, uint256, uint256)

historial sync: true

You need to use an event to sync with. listItem here is not an event - if the listItem function emits an event, then use that.

For that 0xb91F405564C46ee35B9C70253c6ee64Be9EB3A66 contract, there are only Transfer events if that’s what you are wanting.

ABI for Transfer:

   {
      "anonymous":false,
      "inputs":[
         {
            "indexed":true,
            "internalType":"address",
            "name":"from",
            "type":"address"
         },
         {
            "indexed":true,
            "internalType":"address",
            "name":"to",
            "type":"address"
         },
         {
            "indexed":true,
            "internalType":"uint256",
            "name":"value",
            "type":"uint256"
         }
      ],
      "name":"Transfer",
      "type":"event"
   }

Awsome! So I got the transfer function to work, but when I try to use any of the other 5 event ABIs I get nothing. listItem is a function that emits an event. I tried using both the function and event portions of the whole ABI with no luck.

There are still only Transfer events according to your contract. Or did you update and deploy another one?

No this is the same contract I deployed before. For some reason only the transfer event is firing and it must be inherited because I didn’t write a transfer event in my contract…

If it’s not showing on polygonscan.com, then it’s likely an issue with your contract. You’ll need to sort this before worrying about syncing it to your Moralis server.

Yes Transfer events will happen if you mint or transfer an NFT for example - this comes from the token standard/contract.