> ## Documentation Index
> Fetch the complete documentation index at: https://docs.canton.network/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> If you are building a Canton Network application, start from https://docs.canton.network/appdev/quickstart.md. To run only a local network for your own Daml code, without building the QuickStart demo, see https://docs.canton.network/sdks-tools/development-tools/localnet.md.

# DA.ExternalCall

> Reference documentation for Daml module DA.ExternalCall.

Daml module

# DA.ExternalCall

\-

Daml

[Added 3.6.0](#history-added-3-6-0)

Module
DA.ExternalCall

Latest release
3.7.4

## Functions

### `externalCall`

`externalCall` : [`Text`](https://docs.canton.network/appdev/reference/daml-standard-library/prelude#type-ghc-types-text-51952) -> [`Text`](https://docs.canton.network/appdev/reference/daml-standard-library/prelude#type-ghc-types-text-51952) -> [`Text`](https://docs.canton.network/appdev/reference/daml-standard-library/prelude#type-ghc-types-text-51952) -> [`Text`](https://docs.canton.network/appdev/reference/daml-standard-library/prelude#type-ghc-types-text-51952) -> [`Update`](https://docs.canton.network/appdev/reference/daml-standard-library/prelude#type-da-internal-lf-update-68072) [`Text`](https://docs.canton.network/appdev/reference/daml-standard-library/prelude#type-ghc-types-text-51952)

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

Added
`3.6.0`
