Interface-based Indexing
Last updated
Was this helpful?
Last updated
Was this helpful?
With interface-based indexing, you create a class or an object that implements the interface (for indexing contracts) or the interface (for indexing non-specific block data). This class will contain indexing logic.
This can generally give you a bit more flexibility at the expense of needing more boilerplate code (compared to ).
You can check our for an example showing how to use interface-based indexing.