- Preparing search index...
- The search index is not available
Dappetizer
Interface IndexerDatabaseHandler<TDbContext>
Methods
commitTransaction
- commitTransaction(dbContext: TDbContext): void | PromiseLike<void>
-
Returns void | PromiseLike<void>
deleteBlock
- deleteBlock(block: IndexedBlock, dbContext: TDbContext): void | PromiseLike<void>
-
Returns void | PromiseLike<void>
getIndexedChainId
- getIndexedChainId(): undefined | null | string | PromiseLike<undefined | null | string>
-
Returns undefined | null | string | PromiseLike<undefined | null | string>
insertBlock
- insertBlock(block: Block, dbContext: TDbContext): void | PromiseLike<void>
-
Returns void | PromiseLike<void>
rollBackTransaction
- rollBackTransaction(dbContext: TDbContext): void | PromiseLike<void>
-
Returns void | PromiseLike<void>
startTransaction
- startTransaction(): TDbContext | PromiseLike<TDbContext>
-
Returns TDbContext | PromiseLike<TDbContext>