Get started
Mobula provides WSS support for retrieving any raw events and curated events (i.e. Swaps, Liquidity).
This endpoint is only available to Growth and Enterprise plans.
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.
You can use the Network tab in your browser to see the WSS requests.
Webhook
Mobula provides Webhook support for retrieving any raw events and curated events like Swaps or Liquidity.
Product demo
Coming soon.
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:
The API key is mandatory to create a webhook.
If you receive data from your webhook in response, then your webhook is functional and will start receiving events.
Delete a webhook
To delete a webhook:
If you receive:
Then your webhook is deleted.
Can’t find what you’re looking for? Reach out to us, response times < 1h.