Reading events using Moralis Speedy Nodes

Hi I have been trying to read events using WebSocket provider for ethers.js on the binance smart chain mainnet.

  let eventFilter = spiceContract.filters.Transfer(null, null, null)
  let events = await spiceContract.queryFilter(eventFilter)

Nothing no data is returned.

we recommend to use the event sync functionality with a server:

1 Like

Thanks, I tried it and it was wonderful

1 Like