Triggers and HTTP

Hello Damlers,

Is it possible to create a trigger that whenever a certain contract is created, sends an http message to an API?

Thank you

No that’s not possible. Daml Triggers can only read & write to the ledger not send or receive HTTP requests.

For that, try building something using the Java bindings.

3 Likes

Hello, can you point me to some Example Projects other than documentation one.

Thank you

The examples in the docs are your best option here.