Nostrwerk
event sign
Three modes over the same event structure. In preimage mode the caller supplies a public key and the event fields; the answer holds the exact NIP-01 serialisation, the SHA-256 event id derived from it and the 32 bytes to sign, so the caller signs locally and no secret key ever crosses the connection.
POST https://nostr.halowerk.com/event-signEingaben
| Feld | Typ | Pflicht | Beschreibung |
|---|---|---|---|
| mode | string | Nein | preimage: caller signs locally. ephemeral: single-use key generated here. verify: check a complete event. |
| pubkey | string | Nein | Public key as hex or npub. Required in preimage mode, ignored otherwise. |
| kind | integer | Nein | NIP-01 event kind. 1 is a text note, 30023 a long-form article. |
| content | string | Nein | Event content. |
| tags | array | Nein | NIP-01 tags, each an array of strings, for example ["t","bitcoin"]. |
| created_at | integer | Nein | Unix seconds. Left out, the current time is used. |
| event | object | Nein | The complete event to check. Only used in verify mode. |
Vollständiges Eingabeschema anzeigen
{
"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."
}
}
}Veröffentlichtes Eingabebeispiel
{
"mode": "preimage",
"pubkey": "3bf0c63fcb93463407af97a5e5ee64fa883d107ef9e558472c4eb9aaaefa459d",
"kind": 1,
"content": "hello nostr",
"tags": [
[
"t",
"bitcoin"
]
]
}Ergebnis & Dokumentation
Maschinenlesbare Dokumentation dieses Hubs
Quelle dieser Seite: der veröffentlichte HALOWERK-Katalog. Stand: 2026-11-01, 15:19 UTC.
Weitere Endpunkte dieses Hubs
- Nostrwerk0,004 USDC
bot score
POSThttps://nostr.halowerk.com/bot-scoreFetches the recent notes of one public key across several relays and measures six independent signals: posting rate per day, the coefficient of variation of the intervals between posts, how many of those intervals sit within a few seconds o
- Nostrwerk0,004 USDC
follower graph
POSThttps://nostr.halowerk.com/follower-graphFetches kind 3 contact lists over up to twelve relays. Because kind 3 is replaceable, several relays regularly hold different versions; only the one with the highest created_at is used and the answer states which relays carried that version
- Nostrwerk0,001 USDC
key convert
POSThttps://nostr.halowerk.com/key-convertTakes any public NIP-19 identifier or a 64-character hex value and returns every representation it can be expressed as. A decoded nprofile or nevent yields not only the key or event id but also the relay hints, the author and the kind that