Event sync not working, wrong abi

https://zicud1qlgayx.usemoralis.com:2053/server Is this your server url?


Yes

It looks it is working.

:pensive:
I spent two days finding the cause and I think there is nothing wrong and that makes me surprised , I will try again

Thank you

The issues was you pass wrong Abi for mint. I am glad it worked now.

can you try to remove all the events, and add them one at a time?

it looks like there is still at least an event with wrong ABI

Well, I’ll try again now

do you have an event called TransTransactions ?

No Just To Events (Transfer and mint)

that is the table name used for transfer event:

{"chainId":"0x3","address":"0xA63AdD23aB1646D6065b6513876259D2dC43da55","tableName":"TransferTransactions","topic":"Transfer (address,address,uint256)","abi":{"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"},"filter":"","sync_historical":true,"description":"Transfer Event"}

you have to use the exact abi from the contract, indexed part matters too

you can not add an event sync with an abi that has "stateMutability":"payable","type":"function"
it has to be of type event

1 Like

it looks like now it works for the transfer event

Thank You so so much , all is work

Thanks again

1 Like