Get the data field name used in DAML contracts for a given OCF type.
This is the field name where OCF data is stored in the contract's create arguments. Useful for extracting OCF data from transaction trees.
The OCF object type
The data field name (e.g., 'stakeholder_data', 'issuance_data')
getOcfDataFieldName('STAKEHOLDER'); // 'stakeholder_data' getOcfDataFieldName('TX_STOCK_ISSUANCE'); // 'issuance_data' getOcfDataFieldName('STOCK_CLASS'); // 'stock_class_data' Copy
getOcfDataFieldName('STAKEHOLDER'); // 'stakeholder_data' getOcfDataFieldName('TX_STOCK_ISSUANCE'); // 'issuance_data' getOcfDataFieldName('STOCK_CLASS'); // 'stock_class_data'
Get the data field name used in DAML contracts for a given OCF type.
This is the field name where OCF data is stored in the contract's create arguments. Useful for extracting OCF data from transaction trees.