Notifications

Get all protocols notifications.

GET https://api.ironblocks.com/notifications

Query Parameters

NameTypeDescription

protocolName*

[string]

One or more protocol names.

startDate

date-time

Filter by greater than date.

endDate

date-time

Filter by less than date.

pageNumber

integer

Specify page number for pagination.

pageSize

integer

Specify page size for pagination.

sort

enum

Sort results in ascending or descending order:

asc,dsc

{
  "page": [
    {
      "message": "Alert for Protocol1 ..",
      "protocol": "protocol1",
      "createdAt": "2023-01-15T10:07:30.459Z",
      "updatedAt": "2023-01-15T10:07:30.459Z"
    }
  ],
  "pageNumber": 1,
  "total": 4
}
curl -X 'GET' \
  'https://api.ironblocks.com/notifications?protocolName=your-protocol-name&sort=dsc' \
  -H 'accept: application/json' \
  -H 'Authorization: Bearer ${YOUR-API-KEY}'

Last updated