feat(nip100): ask for empty/non present tags

This commit is contained in:
Fernando López Guevara 2023-07-26 09:58:44 -03:00
parent 239ae10579
commit 5f77c0e254

9
100.md
View File

@ -21,6 +21,15 @@ Below is an example filter that matches events with a `g` tag in their structure
} }
``` ```
Other filter example that matches events with an empty/non present `e` tag in their structure:
```json
{
"tags": ["!e"]
}
```
Suggested Use Cases Suggested Use Cases
------------------- -------------------
One of the suggested use cases for this NIP is for location-specific events. Clients can utilize the provided filter example to locate events with specific location-related tags, regardless of how the location information has been stored in the events. One of the suggested use cases for this NIP is for location-specific events. Clients can utilize the provided filter example to locate events with specific location-related tags, regardless of how the location information has been stored in the events.