Fabian on Nostr: Yes I mean there is a way, I’m just not sure what the right way is yet, maybe we ...
Yes I mean there is a way, I’m just not sure what the right way is yet, maybe we can reuse something similar as HTTP codes in the relay response, like "402: nevent1.."
402 for payment required, and clients would show the nevent which would have all the info
or "403: nevent1..." etc
Published at
2025-03-30 18:01:17Event JSON
{
"id": "213a93af63ba6a3a401b66329514e0ecddfd923fc033c3420fef13f74e7ac5fa",
"pubkey": "9be0be0e64d38a29a9cec9a5c8ef5d873c2bfa5362a4b558da5ff69bc3cbb81e",
"created_at": 1743357677,
"kind": 1,
"tags": [
[
"e",
"7abbfb774c4065d25725663588856d698742df3cc964256a5bd48aca16e4de23",
"",
"root"
],
[
"e",
"0000a6e4dcf670177f5c1073c6434891de564aa4026865df6c5123e606f0a92d",
"",
"reply"
],
[
"p",
"3bf0c63fcb93463407af97a5e5ee64fa883d107ef9e558472c4eb9aaaefa459d"
],
[
"p",
"b90c3cb71d66343e01104d5c9adf7db05d36653b17601ff9b2eebaa81be67823"
],
[
"p",
"9be0be0e64d38a29a9cec9a5c8ef5d873c2bfa5362a4b558da5ff69bc3cbb81e"
],
[
"p",
"ee11a5dff40c19a555f41fe42b48f00e618c91225622ae37b6c2bb67b76c4e49"
],
[
"client",
"Nostur",
"31990:9be0be0fc079548233231614e4e1efc9f28b0db398011efeecf05fe570e5dd33:1685868693432"
]
],
"content": "Yes I mean there is a way, I’m just not sure what the right way is yet, maybe we can reuse something similar as HTTP codes in the relay response, like \"402: nevent1..\"\n\n402 for payment required, and clients would show the nevent which would have all the info\n\nor \"403: nevent1...\" etc",
"sig": "d148bb192e3f93d2ef98878cd867d5bd2c2f450523bc2d52147488d2a97a5fd0c304c56201e75fcf639076448ab715c897b2ea96970cef56dd9739d3477cfacd"
}