Extract pubkey + relay hints from nprofile TLV — 5 sats
Decode a Nostr nprofile1... identifier. Returns the canonical hex pubkey plus any relay hints embedded in TLV records.
5 sats via L402.
curl -X POST https://maximumsats.com/api/nprofile-decode \
-H "Content-Type: application/json" \
-d '{"nprofile":"nprofile1..."}'
{
"ok": true,
"nprofile": "nprofile1...",
"hex_pubkey": "32e1827635450ebb3c5a7d12c1f8e7b2b514439ac10a67eef3d9fd9c5c68e245",
"relays": ["wss://relay.damus.io"]
}