{"service":"HALOWERK nostrwerk","endpoint":"/key-convert","method":"POST","content_type":"application/json","inputSchema":{"type":"object","required":["input"],"additionalProperties":false,"properties":{"input":{"type":"string","description":"npub, note, nprofile, nevent, naddr, or 64 hex characters."},"assume":{"type":"string","enum":["pubkey","event_id","both"],"default":"both","description":"How to read bare hex. Ignored for bech32 input, which is unambiguous."},"relays":{"type":"array","maxItems":8,"items":{"type":"string"},"description":"wss relay hints to embed in the generated nprofile, nevent or naddr."},"author":{"type":"string","description":"Author public key as hex or npub, for building an nevent or naddr."},"kind":{"type":"integer","minimum":0,"maximum":65535,"description":"Event kind for the generated nevent or naddr."},"identifier":{"type":"string","maxLength":200,"description":"The d tag value for building an naddr. Requires author and kind."}}},"requestExample":{"input":"beispiel","assume":"both"},"operations":[{"method":"POST","inputSchema":{"type":"object","required":["input"],"additionalProperties":false,"properties":{"input":{"type":"string","description":"npub, note, nprofile, nevent, naddr, or 64 hex characters."},"assume":{"type":"string","enum":["pubkey","event_id","both"],"default":"both","description":"How to read bare hex. Ignored for bech32 input, which is unambiguous."},"relays":{"type":"array","maxItems":8,"items":{"type":"string"},"description":"wss relay hints to embed in the generated nprofile, nevent or naddr."},"author":{"type":"string","description":"Author public key as hex or npub, for building an nevent or naddr."},"kind":{"type":"integer","minimum":0,"maximum":65535,"description":"Event kind for the generated nevent or naddr."},"identifier":{"type":"string","maxLength":200,"description":"The d tag value for building an naddr. Requires author and kind."}}},"requestExample":{"input":"beispiel","assume":"both"}}],"example_request":{"input":"beispiel","assume":"both"},"serviceName":"nostr_key_convert","tags":["nostr","nip-19","bech32"],"outputSchema":{"type":"object"}}