summaryrefslogtreecommitdiffstats
path: root/docs/rfc.md
diff options
context:
space:
mode:
authorbt <bt@rctt.net>2026-06-04 17:13:39 +0200
committerbt <bt@rctt.net>2026-06-04 17:13:39 +0200
commit6628f924ba4aefa8f8361ebc252fb225718359c2 (patch)
treef1337371a66546c5d87908b5fac682ff6b1b92f2 /docs/rfc.md
parented2621c17f353878ea86ce2c16cac7cd04fb4c6a (diff)
downloadsolec-6628f924ba4aefa8f8361ebc252fb225718359c2.tar.gz
solec-6628f924ba4aefa8f8361ebc252fb225718359c2.zip
[common] Add channels list queryv0.6.0
Diffstat (limited to 'docs/rfc.md')
-rw-r--r--docs/rfc.md26
1 files changed, 23 insertions, 3 deletions
diff --git a/docs/rfc.md b/docs/rfc.md
index d6c8085..ecfbdc0 100644
--- a/docs/rfc.md
+++ b/docs/rfc.md
@@ -161,9 +161,11 @@ Payload type attributes describes following characteristics:
| 0x03 | Handshake | SC |
| 0x04 | UserAuth | C |
| 0x05 | Message | SC |
-| 0x06 | ServerAuth | S |
-| 0x07 | UserMode | C |
-| 0x08 | History. | C |
+| 0x06 | ServerAuth | S |
+| 0x07 | UserMode | C |
+| 0x08 | History | C |
+| 0x09 | List | CE |
+| 0x10 | ListItem | S |
| 0xFF | Test | R |
### Success
@@ -273,6 +275,24 @@ should ignore this kind of payload.
| string | str3 |
| uint64 | num4 |
+### List
+
+Request list of channels and users that client can send messages to. Number of retrieved items can be limited using *count* and *offset* fields.
+
+| Type | Name |
+|-----------|-----------------|
+| int64 | count |
+| int64 | offset |
+
+### ListItem
+
+*ListItem* is send as a reply to *List* request. Multiple list items are sent in separate payloads.
+
+| Type | Name |
+|--------|---------|
+| string | address |
+
+
## Sequential operations
Some operations require multiple rounds of communication.