The Store object
The store object inherits from the Message
object's structure as follows:
Attributes | Description |
channel - text | Channel of the message. Ideally, an application would decide and use one channel. |
time - float | Time the post was created. |
type - text | Text representing the message object type.Value is |
β | β |
chain - text | The chain used by the sender's account. Value can be |
sender - text | Chain address who sent and is signing the Store Message. |
β | - |
hash_type - optional text | Defaults to sha256. This is the only supported value for now. |
item_content - JSON text | JSON string representing the content of the store.See below for the content of the string. |
β | β |
item_content.address - text | Chain address to associate the |
item_content.item_type - text |
|
item_content.item_hash - text | Text representing the file stored.It can be used to retrieve the object stored through the retrieve endpoint. |
item_content.time - float | Time the object was created. |
β | β |
item_hash - hash | The hash of the item_content encrypted with SHA256. |
item_type - optional text |
|
Last updated