Skip to main content

Daml module

DA.ExternalCall

-

ModuleDA.ExternalCall
Latest release3.7.4

Functions

externalCall

externalCall : Text -> Text -> Text -> Text -> Update Text Make an external call to a configured extension service. The first two arguments identify the extension and function configured on the participant. The config and input arguments are hex-encoded byte strings; the empty string represents zero bytes. Payloads are canonicalized to lowercase before the LF builtin is invoked. The update records the external call in the transaction. The participant handles communication with the configured extension service. Malformed payloads, missing extension configuration, extension-service failures, and invalid service output fail the update. Runtime and service errors include extension and function context. The result is the service response as a hex-encoded byte string.

History

Added3.6.0