Events

Query event stream

Retrieves a stream of events for the specified cryptocurrency. This endpoint supports long polling and Server-Sent Events (SSE).

get/v1/cryptos/{cryptoCode}/events

Path parameters

cryptoCodestring required

The cryptocurrency code to track (e.g., 'BTC' for Bitcoin, 'LTC' for Litecoin).

Query parameters

lastEventIdinteger

The ID of the last event received. Used to fetch events that occurred after this ID.

longPollingboolean

If true, the server will hold the response until a new event occurs or the request times out.

limitinteger

The maximum number of events to return.

Response

Event stream retrieved successfully.

eventIdinteger

Unique identifier for the event.

typestring

Type of event (e.g., 'newblock', 'newtransaction').

dataobject

Additional data related to the event.

Changes