Export via WebHook

You could use Exporter to send webhook. Note you need to give the channel name notification-channel in the exporter (config on the UI).

const exporter = Exporter.register("SwapEvents", "WebhookChannel")

Note, the WebhookChannel should be replaced by the name you created on UI

To send webhook, use:

exporter.emit(ctx, {evt})

For configuring the notification channel, please refer to notification-channel

For understanding the webhook message, please refer to webhook