✉️Messages
Messages can be stored on the block chain
Creating a new message
Create a new message.
POST https://permastore.app/api/v1/messages/create
Headers
Name
Type
Description
Authorization
String
Your API key
Request Body
Name
Type
Description
contents*
string
The message you want to store (max. 64 characters)
format*
string
The format of the contents ('plaintext' or 'hex')
Sample request
{
"data": {
"request": {
"contents": "Happy new year!",
"format": "plaintext"
}
}
}Response
{
"status": "ok",
"message": "Request stored and resolved",
"success": true,
"data": {
"request": {
"transaction_id": "f1c31bae-a15b-454c-bf53-1dea526cff52",
"contents": "Happy new year!",
"received_at": "2021-12-26 13:33:22",
"sent_at": "2021-12-26 13:33:22",
"returned_at": null,
"status": "resolved",
"result": {
"transaction_id": "0x9cb7f0fff28fcc5f862e7a6d803916fd8ff5d29b0820914f31ef785e0de3d8ae",
"received_at": "2021-12-26 13:33:22"
}
}
}
}Please check the request you submitted and try again
Check status of a message
Check the status of your message
GET https://permastore.app/api/v1/messages/status/{transaction_id}
Path Parameters
Name
Type
Description
transaction_id*
String
Headers
Name
Type
Description
Authorization*
String
Your API Key
Last updated