The decorator for a method of a contract indexer to index updates of the specified big map.
Demonstrates the method signature:
import { DbContext } from '@tezos-dappetizer/database';import { indexBigMapUpdate } from '@tezos-dappetizer/decorators';import { BigMapUpdateIndexingContext } from '@tezos-dappetizer/indexer';class YourContractIndexer { @indexBigMapUpdate({ name: 'ledger' }) indexLedgerUpdate( key: StronglyTypedBigMapKey, value: StronglyTypedBigMapValue | null, // Null if entry removal. dbContext: DbContext, indexingContext: BigMapUpdateIndexingContext<TContextData, TContractData>, ): void | PromiseLike<void> { // Your indexing code. }}
This is based on ContractIndexer.indexBigMapUpdate(...).
Generated using TypeDoc
The decorator for a method of a contract indexer to index updates of the specified big map.
Example
Demonstrates the method signature:
Remark
This is based on ContractIndexer.indexBigMapUpdate(...).