Are there any usage examples of exerciseByKey? Can contract keys be easily constructed and used in something like this:
ledger.exerciseByKey(Handover, { "_1": owner, "_2": id }, { newHandler: handler })
…or do the JS contract keys have unattractive type signatures? (requiring you to hold on to a reference to the key, as opposed to constructing it when needed).
Thanks for the help,
Alex