Interface TransactionIndexingContext<TData, TContractData>

Provides all additional data related to the selected contract and the indexed entity.

Type Parameters

  • TData = unknown

    The type of your custom data that flows in indexingContext through all indexers for a block. See createContextData for more details.

  • TContractData = unknown

    The type of your custom data associated with the contract that flows in indexingContext through this indexer. See shouldIndex for more details.

Hierarchy

Properties

bigMapDiffs: readonly BigMapDiff[]
block: Block
contract: Contract
contractData: TContractData

Gets data associated with a contract - returned by shouldIndex(). It is carried over all the time when indexing blocks.

data: TData
events: readonly ContractEvent[]
operationGroup: OperationGroup
storageChange: null | StorageChange
transactionParameter: TransactionParameter

Generated using TypeDoc