diff options
| author | fiatjaf <fiatjaf@gmail.com> | 2023-01-21 07:36:44 -0300 |
|---|---|---|
| committer | fiatjaf <fiatjaf@gmail.com> | 2023-01-21 07:36:44 -0300 |
| commit | 69685588f0d60e73ac0148181472e1ceaea4f767 (patch) | |
| tree | 50c770881e2c289004cb989c47fa5735d35c11d0 /01.md | |
| parent | 8b18e7818e0c2fcbd8bc82e0660f8b6ba23af50d (diff) | |
specify lowercase on nip01 event hex fields.
Diffstat (limited to '01.md')
| -rw-r--r-- | 01.md | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -16,8 +16,8 @@ The only object type that exists is the `event`, which has the following format | |||
| 16 | 16 | ||
| 17 | ```json | 17 | ```json |
| 18 | { | 18 | { |
| 19 | "id": <32-bytes sha256 of the the serialized event data> | 19 | "id": <32-bytes lowercase hex-encoded sha256 of the the serialized event data> |
| 20 | "pubkey": <32-bytes hex-encoded public key of the event creator>, | 20 | "pubkey": <32-bytes lowercase hex-encoded public key of the event creator>, |
| 21 | "created_at": <unix timestamp in seconds>, | 21 | "created_at": <unix timestamp in seconds>, |
| 22 | "kind": <integer>, | 22 | "kind": <integer>, |
| 23 | "tags": [ | 23 | "tags": [ |