Skip to content
This repository was archived by the owner on Sep 26, 2025. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/specs/servers/relay/relay-server-rpc.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ This document aims to create the JsonRpc contract between a client and a server.
The following definitions are shared concepts across all JSON-RPC methods for the Relay API:

- **topic** - (hex string - 32 bytes) a target topic for the message to be subscribed by the receiver.
- **message** - (utf8 string - variable - max 10,000 bytes) a plaintext message to be relayed to any subscribers on the topic.
- **message** - (utf8 string - variable) a plaintext message to be relayed to any subscribers on the topic.
- **ttl** - (uint32 - 4 bytes) a storage duration for the message to be cached server-side in **seconds** (aka time-to-live).
- **tag** - (uint32 - 4 bytes) a label that identifies what type of message is sent based on the rpc method used.
- **id** - (hex string - 32 bytes) a unique identifier for each subscription targeting a topic.
Expand Down