Yes, I would propose it as an additional option. Could be the same signed event in a jwt without the challenge string or something for a header.

I don’t see why the NIP couldn’t support both!

Reply to this note

Please Login to reply.

Discussion

It would be great if we could do a simple 402 response to the websocket request with the invoice and people can just pay for their daily quota when they use it, very simple with AUTH header and payment required response