Hi , can i listen events directly on client side without using sync function? i’ve tried with web3 syntax but it doesn’t work .
what syntax did you try with web3?
you could use live queries after you have a sync in place in Moralis db: https://docs.moralis.io/moralis-server/database/live-queries
you could also do it on you local computer using web sockets and subscribing to
thanks cryptokid, sorry i’m new on moralis , live queries are really usefull but i need to catch events on client side in real time so i think i’m going to try subscribing to logs unless you have a better solution .
Sorry , i’ve just watched video on live-queries and i’ve seen that i can subscribe to live-queries too … you saved my time. Thanks