Why Nostr? What is Njump?
2025-05-17 11:29:44

Thefux on Nostr: the api could be easily tested via curl curl -i -X POST \ -H "X-PAYMENT-SATS: <ecash ...

the api could be easily tested via curl

curl -i -X POST https://ecash.otrta.io/v1/chat/completions \
-H "X-PAYMENT-SATS: <ecash token>" \
-H "Content-Type: application/json" \
-d '{ "model": "meta-llama/llama-4-maverick-17b-128e-instruct-fp8", "messages": [{"role": "user", "content": "Tell me the difference between ecash and regular money."}] }'

The response includes a new header field (X-CHANGE-SATS) that provides an eCash token with change.

x-change-sats: <cashback token>

Author Public Key
npub1ygjd597hdwu8larprmhj893d5p832j5mhejpx40ukezgudvayg9qeklajc