Extract normalized relay URL(s) from nrelay TLV — 5 sats
Decode a Nostr nrelay1... identifier. Returns normalized WebSocket relay URL(s) from TLV records.
5 sats via L402.
curl -X POST https://maximumsats.com/api/nrelay-decode \
-H "Content-Type: application/json" \
-d '{"nrelay":"nrelay1..."}'
{
"ok": true,
"nrelay": "nrelay1...",
"relay": "wss://relay.damus.io/",
"relays": ["wss://relay.damus.io/"]
}