Abstract
Optional
baseConfig: IndexerMainDomainConfigProtected
accountsProtected
Optional
baseProtected
contextProtected
discoverProtected
statsProtected
_discoverProtected
_updateProtected
checkProtected
Throws an error if the indexer does not have discovery capabilities.
Protected
checkProtected
Throws an error if the indexer does not have stats capabilities.
Gets the indexing state of the given accounts.
The accounts to get the state from.
Returns the global stats for the given accounts.
The accounts to get the summary from.
Returns the time-series stats for the given account.
The accounts to get the time-series stats from.
The type of time-series to get.
The transformations and clipping to apply to the time-series.
Protected
getProtected
indexProtected
Called when a new account is discovered.
The indexer options to use for the new account.
Checks whether the indexer has discovery capabilities.
Checks whether the indexer has stats capabilities.
Generated using TypeDoc
The main indexer domain class. Primary entry point for all data being indexed. This is a core piece in developing a custom indexer. Add and overwrite methods to customize the indexer. This class communicates through the broker with the services, which can be powered by multiple workers. All of this is abstracted away through this class.