How do relays send messages back to apps currently?
When your poast isn't accepted, that is, for example. Anything for that?
How do pay 2 poast relays ask for payment when receiving an event? Invoice on the OK response? cc nostr:nprofile1qqs8eseg5zxak2hal8umuaa7laxgxjyll9uhyxp86c522shn9gj8crspz9mhxue69uhkummnw3ezuamfdejj7qgjwaehxw309ahx7um5wgerztnrdakj7qgkwaehxw309a3x2an09ehx7um5wgcjucm0d5hsvlnggv
How do relays send messages back to apps currently?
When your poast isn't accepted, that is, for example. Anything for that?
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...)