Messaging

The message object contains the details of how the merchant wishes to exchange messages.

{  
   "version":"0.0.1.0",
   "item":{  
      ...
      "messaging": {
         "protocol": "SMSG",
         "public_key": "public key of address"
      }
      ...
   }
}

Protocol

This field defines which DSN protocol must be used. The values in this field must be one of the predefined Data Storage Network ID's.

public_key

If SMSG is used, then a pubkey field must be supplied with the accomodating public key. This is optional for the moment as the merchant already discloses a public key when registering the market listing on the blockchain.