Iām trying to setup Streams API with Supabase. Iām looking for mint and transfer events from a couple NFT contracts. I want to update user assets (saved to database) based on changes from the stream.
I see in the Firebase docs that it saves transactions to the database. Is this the recommended method rather than just dealing with txns as they come in?
Does it make sense to just save txns to a DB table (maybe with a column named āprocessedā == true/false) then have a background process that goes row by row and check txns that are āprocessedā === false and update the user corresponding users items.
This way I donāt miss incoming txns and I can see what data wasnāt processed?