Skip to content

bridge.unread_notifications ​

Purpose ​

Load notification status for a named account: the last-read time and the count of unread notifications scoring at least min_score.

Parameters: account:string; min_score:int (optional, defaults to 25)

Also see: bridge.account_notifications

Parameters ​

PARAMETERS
json
{
  "account": "steemit"
}

Example ​

BASH
bash
curl -s https://api.steemit.com \
  -H 'Content-Type: application/json' \
  --data-binary '{
    "jsonrpc": "2.0",
    "method": "bridge.unread_notifications",
    "params": {
      "account": "steemit"
    },
    "id": 1
  }'

Response ​

RESPONSE
json
{
  "lastread": "1970-01-01 00:00:00",
  "unread": 11922
}