You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need to query all events about all stakings from the node.
Like in ethereum where we can get all events from smart contracts using events, the same way I want to get about all stakings to validators.
I couldn't find any relevant information in docs, everywhere, and discord channel in not working too.
The text was updated successfully, but these errors were encountered:
We dont recommend querying all events in this fashion instead we would recommend putting the data into a database like postgres and then querying from there. If you have a node that has all the events then you will need to construct a query that loops through the tx_index.db from comet to get the data
We dont recommend querying all events in this fashion instead we would recommend putting the data into a database like postgres and then querying from there. If you have a node that has all the events then you will need to construct a query that loops through the tx_index.db from comet to get the data
Would be scanning transactions in each block a good solution anyway, provided that it's possible?
scanning the txs will not get you the events. the best case is to send all the events to an external database or stream them directly to the integrated database
closing this as answered but happy to continue answering
Summary
I need to query all events about all stakings from the node.
Like in ethereum where we can get all events from smart contracts using events, the same way I want to get about all stakings to validators.
I couldn't find any relevant information in docs, everywhere, and discord channel in not working too.
The text was updated successfully, but these errors were encountered: