NIP-01: filters can query any tag

This commit is contained in:
Alex Gleason 2024-03-30 14:47:29 -05:00
parent 6871b3b334
commit 556d802899
No known key found for this signature in database
GPG Key ID: 7211D1F99744FBB7

2
01.md
View File

@ -124,7 +124,7 @@ Clients can send 3 types of messages, which must be JSON arrays, according to th
"ids": <a list of event ids>,
"authors": <a list of lowercase pubkeys, the pubkey of an event must be one of these>,
"kinds": <a list of a kind numbers>,
"#<single-letter (a-zA-Z)>": <a list of tag values, for #e a list of event ids, for #p a list of pubkeys, etc.>,
"#<tag>": <a list of tag values, for #e a list of event ids, for #p a list of pubkeys, etc.>,
"since": <an integer unix timestamp in seconds, events must be newer than this to pass>,
"until": <an integer unix timestamp in seconds, events must be older than this to pass>,
"limit": <maximum number of events relays SHOULD return in the initial query>