I am trying to get data from the previously created multiple contracts within a template and combine partial dataset from each contract to make one final dataset. How can i achieve this in daml?
– contract already created, in ledger
cID1 ← @ContractA2E
cID2 ← @ContractF2J
cID3 ← @ContractK2O
and pull A,B from @ContractA2E; G,H from @ContractF2J; M,N,O from @ContractK2O - concat and store it in finalDataSet
Does daml samples have any such template snippet/use case reference to achieve this?