List chat messages

Retrieves messages for an account, newest first. Optionally filter by timestamp.

GET
/chat/messages

Query Parameters

account*string

Hex-encoded ed25519 public key (64 chars)

since?integer
Formatint64

Response Body

application/json

curl -X GET "https://ldn.test.network/chat/messages?account=a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b6c7d8e9f0a1b2"
[
  {
    "from": "a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b6c7d8e9f0a1b2",
    "to": "a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b6c7d8e9f0a1b2",
    "message": "Hello, world!",
    "timestamp": 0,
    "signature": "string"
  }
]