Anthony π«π· on Nostr: Hi Nostr devs π I am building a backend web project that interact with Nostr, ...
Hi Nostr devs π
I am building a backend web project that interact with Nostr, publishing Poll Notes Event (NIP-69) programmatically.
Everything works great except that Iβm stuck trying to retrieve the most voted option (I donβt need to know the exact percentage or the Lightning values for each). I tried using a `REQ` event that gives me only note raw data without poll results:
```
["REQ", "subscription_id", { "ids": ["poll_note_id"] }]
```
Is there another `REQ` event available for this ? Or any other way ?
Is it relays responsibility or clients only ?
Thank you for your help :)
#nostrfr #nostrdev #askNostr
Published at
2023-09-05 12:10:12Event JSON
{
"id": "435a3559c0f97b17d3dcee663ce062551ee9e5b0cf78bd232d9dfb7a37ef9743",
"pubkey": "7eb29c126b3628077e2e3d863b917a56b74293aa9d8a9abc26a40ba3f2866baf",
"created_at": 1693915812,
"kind": 1,
"tags": [
[
"t",
"nostrfr"
],
[
"t",
"nostrdev"
],
[
"t",
"askNostr"
]
],
"content": "Hi Nostr devs π\n\nI am building a backend web project that interact with Nostr, publishing Poll Notes Event (NIP-69) programmatically.\nEverything works great except that Iβm stuck trying to retrieve the most voted option (I donβt need to know the exact percentage or the Lightning values for each). I tried using a `REQ` event that gives me only note raw data without poll results:\n\n```\n[\"REQ\", \"subscription_id\", { \"ids\": [\"poll_note_id\"] }]\n```\n\nIs there another `REQ` event available for this ? Or any other way ? \nIs it relays responsibility or clients only ?\n\nThank you for your help :)\n\n#nostrfr #nostrdev #askNostr",
"sig": "86cb8bb46a3c0bce952f4773e03db943b01339f400f2c5d87404d0fa6410ab36f76354d329e04db245accc5dc43c017f8e5a571771dd5c919b7759021d2d9340"
}