Experimental
The decorator for a method of a contract indexer to index its transactions with the specified entrypoint.
Demonstrates the method signature:
import { DbContext } from '@tezos-dappetizer/database';import { indexAddMessages } from '@tezos-dappetizer/decorators';import { Applied, SmartRollupAddMessagesOperation } from '@tezos-dappetizer/indexer';class YourSmartRollupIndexer { @indexAddMessages() indexMyMessages( operation: Applied<SmartRollupAddMessagesOperation>, dbContext: TDbContext, indexingContext: SmartRollupAddMessagesIndexingContext<TContextData>, ): void | PromiseLike<void> { // Your indexing code. }}
This is based on SmartRollupIndexer.indexAddMessages(...).
Generated using TypeDoc
The decorator for a method of a contract indexer to index its transactions with the specified entrypoint.
Example
Demonstrates the method signature:
Remark
This is based on SmartRollupIndexer.indexAddMessages(...).