Build naddr identifiers from identifier + author + kind — 5 sats
Encode a Nostr address reference into naddr1... format. Supply identifier (d-tag), author pubkey, kind, and optional relay hints for portable replaceable-address references.
5 sats via L402.
curl -X POST https://maximumsats.com/api/naddr-encode \
-H "Content-Type: application/json" \
-d '{"identifier":"my-article-slug","author_pubkey":"32e1827635450ebb3c5a7d12c1f8e7b2b514439ac10a67eef3d9fd9c5c68e245","kind":30023,"relays":["wss://relay.damus.io"]}'
{
"ok": true,
"identifier": "my-article-slug",
"hex_author_pubkey": "32e1827635450ebb3c5a7d12c1f8e7b2b514439ac10a67eef3d9fd9c5c68e245",
"kind": 30023,
"relays": ["wss://relay.damus.io/"],
"naddr": "naddr1..."
}