Type alias BscTransactionIndexerWorkerDomainI
BscTransactionIndexerWorkerDomainI: {
bscTransactionBufferLength?: number;
bscFilterTransaction(context: ParserContext, entity: EthereumParsedTransaction): Promise<boolean>;
bscIndexTransactions(context: ParserContext, entities: EthereumParsedTransaction[]): Promise<void>;
}
Type declaration
-
Optional
bscTransactionBufferLength?: number
-
bscFilterTransaction:function
- bscFilterTransaction(context: ParserContext, entity: EthereumParsedTransaction): Promise<boolean>
-
Parameters
-
context: ParserContext
-
entity: EthereumParsedTransaction
Returns Promise<boolean>
-
bscIndexTransactions:function
-
Parameters
-
context: ParserContext
-
entities: EthereumParsedTransaction[]
Returns Promise<void>