WebSocket
Mobula provides WSS support for retrieving any raw events and curated events like Swaps or Liquidity.Endpoint details
- URL: wss://production-stream.mobula.io
- Message (string):
Parameters
- chainIds: details here
- events: transactions, traces, logs, blocks, swaps, transfers, pools
- filters: details here
Implementation example
Let’s take a look at: Coming soon.Connection Keepalive (Ping/Pong)
To maintain active WebSocket connections and prevent timeouts, you can use the ping/pong mechanism: Send ping:Webhook
Mobula provides Webhook support for retrieving any raw events and curated events like Swaps or Liquidity.Endpoint details
- URL: https://production-stream.mobula.io/api/1/webhooks
- Body (json):
Parameters
- chainIds: details here
- events: transactions, traces, logs, blocks, swaps, transfers, pools
- filters: details here
- webhookUrl: URL to send the data
Create a webhook
First we need to create a webhook:Delete a webhook
To delete a webhook:Support
Telegram
Support
Slack
Need help?
Email