How do relays send messages back to apps currently?

When your poast isn't accepted, that is, for example. Anything for that?

Reply to this note

Please Login to reply.

Discussion

the OK response tells you if the event was stored or not. One of the reasons for not storing it is 'payment-required' so I was wondering if the response also contains an invoice in that case.

What NIP is that?

the OK from relay to client is described in https://github.com/nostr-protocol/nips/blob/master/01.md#from-relay-to-client-sending-events-and-notices looks like I made up the payment-required OK reponse but in the examples shown in https://github.com/nostr-protocol/nips/blob/master/11.md#pay-to-relay the user has to visit a page to pay upfront for publishing on the relay, nothing about pay per event is specced afaict. I suspect no one has done this (yet).

I see. When you have a #communikey that can publish messages, I'm wondering if we'll even need relays to respond in rich ways. Since the key pair can do it for them (and for the blossom server, mint, etc...)