Events

Query event stream from most recent

Changed on
get/v1/cryptos/{cryptoCode}/events/latest

Request

Path parameters

cryptoCodestring required

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

Query parameters

limitinteger

The maximum number of events to return.

Response

Latest events

eventIdinteger

Unique identifier of the event. (Sequential)

type'newblock' | 'newtransaction'

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

Example response

[
  {
    "data": {
      "height": 104,
      "hash": "1f31c605c0a5d54b65fa39dc8cb4db025be63c66280279ade9338571a9e63d35",
      "previousBlockHash": "7639350b31f3ce07ff976ebae772fef1602b30a10ccb8ca69047fe0fe8b9083c",
      "cryptoCode": "BTC",
      "confirmations": 1
    }
  }
]

Changes

    • info

      added to the / response property anyOf list for the response status

    • info

      removed from the / response property oneOf list for the response status

    • info

      added the optional property //////// to the response with the status