mirror of
https://github.com/nostr-protocol/nips.git
synced 2025-08-13 14:30:47 -04:00
encode kind
into nitem
This commit is contained in:
6
19.md
6
19.md
@@ -45,11 +45,13 @@ These possible standardized `TLV` types are indicated here:
|
||||
- for `nevent` it will be the 32 bytes of the event id
|
||||
- for `nrelay`, this is the relay URL
|
||||
- for `nitem`, it is the identifier (the `"d"` tag) of the event being referenced
|
||||
- for `nprofile`, `nevent` and `nrelay` this may be included only once.
|
||||
- `1`: `relay`
|
||||
- for `nprofile`, `nevent` and `nitem`, a relay in which the entity (profile or event) is more likely to be found, encoded as UTF-8. This may be included multiple times
|
||||
- for `nprofile`, `nevent` and `nitem`, a relay in which the entity (profile or event) is more likely to be found, encoded as ascii
|
||||
- this may be included multiple times
|
||||
- `2`: `author`
|
||||
- for `nitem`, the 32 bytes of the pubkey of the event
|
||||
- `3`: `kind`
|
||||
- for `nitem`, the 32-bit unsigned integer of the kind, big-endian
|
||||
|
||||
|
||||
## Examples
|
||||
|
Reference in New Issue
Block a user