Add signevent to nip86 (#2389)

This commit is contained in:
hodlbod
2026-06-20 09:01:06 -07:00
committed by GitHub
parent 5d6b432267
commit 2415f3398b

3
86.md
View File

@@ -52,6 +52,9 @@ This is the list of **methods** that may be supported:
* `listeventsneedingmoderation`:
- params: `[]`
- result: `[{"id": "<32-byte-hex>", "reason": "<optional-reason>"}]`, an array of objects
* `signevent`:
- params: `[{kind, content, tags, created_at}]`
- result: `[{kind, content, tags, created_at, id, sig, pubkey}]` (the event signed by the relay's `self` pubkey)
* `allowevent`:
- params: `["<32-byte-hex-event-id>", "<optional-reason>"]`
- result: `true` (a boolean always set to `true`)