2020-11-27 07:18:48 +00:00
|
|
|
# Relay API
|
2023-02-14 08:19:06 +00:00
|
|
|
proc post_waku_v2_relay_v1_subscriptions(topics: seq[PubsubTopic]): bool
|
|
|
|
proc delete_waku_v2_relay_v1_subscriptions(topics: seq[PubsubTopic]): bool
|
|
|
|
proc post_waku_v2_relay_v1_message(topic: PubsubTopic, message: WakuMessageRPC): bool
|
|
|
|
proc get_waku_v2_relay_v1_messages(topic: PubsubTopic): seq[WakuMessageRPC]
|
2020-11-27 07:18:48 +00:00
|
|
|
|
2020-12-23 09:33:28 +00:00
|
|
|
|
2023-02-10 09:43:16 +00:00
|
|
|
# Relay Private API
|
2020-12-23 09:33:28 +00:00
|
|
|
# Symmetric
|
|
|
|
proc get_waku_v2_private_v1_symmetric_key(): SymKey
|
2023-02-14 08:19:06 +00:00
|
|
|
proc post_waku_v2_private_v1_symmetric_message(topic: string, message: WakuMessageRPC, symkey: string): bool
|
|
|
|
proc get_waku_v2_private_v1_symmetric_messages(topic: string, symkey: string): seq[WakuMessageRPC]
|
2020-12-23 09:33:28 +00:00
|
|
|
# Asymmetric
|
|
|
|
proc get_waku_v2_private_v1_asymmetric_keypair(): WakuKeyPair
|
2023-02-14 08:19:06 +00:00
|
|
|
proc post_waku_v2_private_v1_asymmetric_message(topic: string, message: WakuMessageRPC, publicKey: string): bool
|
|
|
|
proc get_waku_v2_private_v1_asymmetric_messages(topic: string, privateKey: string): seq[WakuMessageRPC]
|