Hello,
If I want to update database of moralis from the smart contract how to do it.
Hi,
You can create a cloud function that reads your events on the smart contract and then updates the DB class as required.
You can see how to do it here -
Syncing events from Moralis
https://docs.moralis.io/moralis-server/automatic-transaction-sync/smart-contract-events#sync-and-watch-contract-events
1 Like
Thanks a lot for the help