WebSocket
Multi-events Stream
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.
Product demo
Coming soon.
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:
You can use the Network tab in your browser to see the WSS requests.
Unsubscribing from the stream
You can unsubscribe from the stream by sending an unsubscribe message:
After sending the unsubscribe payload, you will stop receiving events for the specified stream.
Can’t find what you’re looking for? Reach out to us, response times < 1h.