DocsReference@proto-kit/indexerClassesIndexBlockTaskParametersSerializer

@proto-kit/indexerDocs


Documentation / @proto-kit/indexer / IndexBlockTaskParametersSerializer

Class: IndexBlockTaskParametersSerializer

Constructors

new IndexBlockTaskParametersSerializer()

new IndexBlockTaskParametersSerializer(blockMapper, blockResultMapper, transactionResultMapper): IndexBlockTaskParametersSerializer

Parameters

blockMapper: BlockMapper

blockResultMapper: BlockResultMapper

transactionResultMapper: TransactionExecutionResultMapper

Returns

IndexBlockTaskParametersSerializer

Defined in

indexer/src/tasks/IndexBlockTaskParameters.ts:13

Properties

blockMapper

blockMapper: BlockMapper

Defined in

indexer/src/tasks/IndexBlockTaskParameters.ts:14


blockResultMapper

blockResultMapper: BlockResultMapper

Defined in

indexer/src/tasks/IndexBlockTaskParameters.ts:15


transactionResultMapper

transactionResultMapper: TransactionExecutionResultMapper

Defined in

indexer/src/tasks/IndexBlockTaskParameters.ts:16

Methods

fromJSON()

fromJSON(json): IndexBlockTaskParameters

Parameters

json: string

Returns

IndexBlockTaskParameters

Defined in

indexer/src/tasks/IndexBlockTaskParameters.ts:29


toJSON()

toJSON(parameters): string

Parameters

parameters: IndexBlockTaskParameters

Returns

string

Defined in

indexer/src/tasks/IndexBlockTaskParameters.ts:19