diff options
| -rw-r--r-- | 35.md | 6 |
1 files changed, 5 insertions, 1 deletions
| @@ -18,8 +18,12 @@ An additional `k` tag identifies the kind of the draft event. | |||
| 18 | "tags": [ | 18 | "tags": [ |
| 19 | ["d", "<identifier>"], | 19 | ["d", "<identifier>"], |
| 20 | ["k", "<kind of the draft event>"], | 20 | ["k", "<kind of the draft event>"], |
| 21 | ["e", "<anchor event event id>", "<relay-url>"], | ||
| 22 | ["a", "<anchor event address>", "<relay-url>"], | ||
| 21 | ], | 23 | ], |
| 22 | "content": nip44Encrypt(JSON.stringify(draft_event)), | 24 | "content": nip44Encrypt(JSON.stringify(draft_event)), |
| 23 | // other fields | 25 | // other fields |
| 24 | } | 26 | } |
| 25 | ``` \ No newline at end of file | 27 | ``` |
| 28 | |||
| 29 | Tags `e` and `a` identify one or more anchor events, such as parent events on replies. | ||