NIP-52 says for time-based kind events:
{
"id": <32-bytes lowercase hex-encoded SHA-256 of the the serialized event data>,
....
}
So does this mean, I get the serialized event with everything EXCEPT the "Id" field and then put that in id?
#asknostr
Wait, i think it has to be serialized as a json array without the keys, and then that has to be hashed? Idk i'm confused
Please Login to reply.
It's specifically the values [0,pubkey,created_at,kind,tags,content] -- NIP-01 has the exact details.