Stockmind Notifications

A notification is an entity that is created when something happens on the server.

Every time a new transaction arrives to the server, a new notification is created to all the participants involved in the transaction. This allows to update users with the new information.

View all Notifications

Returns all your notifications.

  • GET /v3/notifications

Request:

curl -X GET -i https://your-domain.com/v3/notifications
      

Response:

[
         {

            "direction":"send",
            "pending":false,
            "counterparty":{
               "ethaddr":"0x8538a2b9821aa82a4fcc31a3e5277d526de65f8c"
            },
            "token":"STCK1",
            "decimals":2,
            "amount":{
               "whole":"20",
               "decimal":"00"
            },
            "date":"22/11/2018 12:02:57"
         },
         {

            "direction":"receive",
            "pending":false,
            "counterparty":{
               "ethaddr":"0x8cda193791db75e3590e5ee6525a8b32ed696781"
            },
            "token":"STCK1",
            "decimals":2,
            "amount":{
               "whole":"209999",
               "decimal":"99"
            },
            "txHash":"0x34abf404127f11a5b50a49413c57a9ed1261adb2c52a3866e3739b459f625c3e",
            "date":"22/11/2018 11:35:24"
         }
      ]