Global Feed Post Login
Replying to Avatar franzap

How do I query a relay for multiple event IDs that are replaceable?

I need to query 50+ pairs (pubkey1, appid1), (pubkey2, appid2)... (pubkey50, appid50) for a fixed kind.

Do I need to make 50+ separate requests? One request with 50+ filters?

Or should we make {ids: ...} recognize replaceable IDs in relays?

#asknostr #devstr

Avatar
Five 7mo ago

For replacables you can query for a-tags in the filter, or am I missing sth?

'#a': [,

Reply to this note

Please Login to reply.

Discussion

Avatar
Five 7mo ago

No yeah, I see your problem

Thread collapsed