Skip to content

Reference

Utils — transaction helpers

Navigate SubmitAndWaitForTransactionTree results to find CreatedTreeEvent nodes, extract OCF ids, and build contract-id maps per object type.

Exports:** findCreatedEventsByTemplateId, extractOcfIdFromEvent, buildOcfIdToContractIdMap, buildAllOcfIdMaps, buildAllOcfEventArrays, safeGet, CreatedTreeEvent typing.

These are low-level utilities for batch processors interpreting transaction trees without going through higher-level CapTableBatch helpers.

Source