I’ve checked some topics here in daml discuss but was not able to see the one i’m looking for so I’m creating this one here.
I’ve checked on some sample DAML Scripts I can find here in daml discuss, as well as the daml docs’ daml script library page (daml docs > daml script library) but was not able to see equivalent command we can use for lookupbykey and fetchbykey.
I can only see “query” which results in all the active contracts available for a queried template and party.
Do we have equivalent command for lookupbykey, fetchbykey in daml script?
If not, do we have any reason why?
Hoping for your response. Thank you.
Just wondering this as we can use the said commands via DAML Scenario. And that we are trying to convert a created DAML Scenario into a DAML Script. One scenario we have uses those commands. So we are trying to figure out if there is a direct way to do the said commands via DAML Script too.