mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-11-09 22:09:06 -05:00
For clarification, the time unit for all date attributes in the filters (since, until) are in seconds
This commit is contained in:
parent
fab6a21a77
commit
e0fc913719
4
01.md
4
01.md
|
@ -66,8 +66,8 @@ Clients can send 3 types of messages, which must be JSON arrays, according to th
|
||||||
"kinds": <a list of a kind numbers>,
|
"kinds": <a list of a kind numbers>,
|
||||||
"#e": <a list of event ids that are referenced in an "e" tag>,
|
"#e": <a list of event ids that are referenced in an "e" tag>,
|
||||||
"#p": <a list of pubkeys that are referenced in a "p" tag>,
|
"#p": <a list of pubkeys that are referenced in a "p" tag>,
|
||||||
"since": <an integer unix timestamp, events must be newer than this to pass>,
|
"since": <an integer unix timestamp in seconds, events must be newer than this to pass>,
|
||||||
"until": <an integer unix timestamp, events must be older than this to pass>,
|
"until": <an integer unix timestamp in seconds, events must be older than this to pass>,
|
||||||
"limit": <maximum number of events to be returned in the initial query>
|
"limit": <maximum number of events to be returned in the initial query>
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue
Block a user