{"service":"HALOWERK nostrwerk","endpoint":"/event-sign","method":"POST","content_type":"application/json","inputSchema":{"type":"object","additionalProperties":false,"properties":{"mode":{"type":"string","enum":["preimage","ephemeral","verify"],"default":"preimage","description":"preimage: caller signs locally. ephemeral: single-use key generated here. verify: check a complete event."},"pubkey":{"type":"string","description":"Public key as hex or npub. Required in preimage mode, ignored otherwise."},"kind":{"type":"integer","minimum":0,"maximum":65535,"default":1,"description":"NIP-01 event kind. 1 is a text note, 30023 a long-form article."},"content":{"type":"string","maxLength":64000,"default":"","description":"Event content."},"tags":{"type":"array","maxItems":200,"items":{"type":"array","items":{"type":"string"}},"description":"NIP-01 tags, each an array of strings, for example [\"t\",\"bitcoin\"]."},"created_at":{"type":"integer","minimum":0,"description":"Unix seconds. Left out, the current time is used."},"event":{"type":"object","description":"The complete event to check. Only used in verify mode."}}},"requestExample":{"mode":"preimage","pubkey":"3bf0c63fcb93463407af97a5e5ee64fa883d107ef9e558472c4eb9aaaefa459d","kind":1,"content":"hello nostr","tags":[["t","bitcoin"]]},"operations":[{"method":"POST","inputSchema":{"type":"object","additionalProperties":false,"properties":{"mode":{"type":"string","enum":["preimage","ephemeral","verify"],"default":"preimage","description":"preimage: caller signs locally. ephemeral: single-use key generated here. verify: check a complete event."},"pubkey":{"type":"string","description":"Public key as hex or npub. Required in preimage mode, ignored otherwise."},"kind":{"type":"integer","minimum":0,"maximum":65535,"default":1,"description":"NIP-01 event kind. 1 is a text note, 30023 a long-form article."},"content":{"type":"string","maxLength":64000,"default":"","description":"Event content."},"tags":{"type":"array","maxItems":200,"items":{"type":"array","items":{"type":"string"}},"description":"NIP-01 tags, each an array of strings, for example [\"t\",\"bitcoin\"]."},"created_at":{"type":"integer","minimum":0,"description":"Unix seconds. Left out, the current time is used."},"event":{"type":"object","description":"The complete event to check. Only used in verify mode."}}},"requestExample":{"mode":"preimage","pubkey":"3bf0c63fcb93463407af97a5e5ee64fa883d107ef9e558472c4eb9aaaefa459d","kind":1,"content":"hello nostr","tags":[["t","bitcoin"]]}}],"example_request":{"mode":"preimage","pubkey":"3bf0c63fcb93463407af97a5e5ee64fa883d107ef9e558472c4eb9aaaefa459d","kind":1,"content":"hello nostr","tags":[["t","bitcoin"]]},"serviceName":"nostr_event_sign","tags":["nostr","signature","bip-340"],"outputSchema":{"type":"object"}}