Nostrwerk
zap receipt check
Takes a kind 9735 receipt directly or fetches it from relays by event id, then runs eight named checks and reports each one separately with its reason. The receipt signature and the signature of the zap request enclosed in the description tag are verified per BIP-340. The invoice is decoded and its amount is compared against the amount tag of the zap request, since those two can disagree and only the invoice was payable.
POST https://nostr.halowerk.com/zap-receipt-checkEingaben
| Feld | Typ | Pflicht | Beschreibung |
|---|---|---|---|
| receipt | object | Nein | The complete kind 9735 event. Either this or event_id is required. |
| event_id | string | Nein | Event id of the receipt as hex, note or nevent. Fetched from the relays when receipt is not given. |
| recipient_lightning_address | string | Nein | Lightning address of the recipient, for example name@domain. Given, the issuer is compared against the nostrPubkey published there. |
| relays | array | Nein | wss relay addresses used when fetching by event_id. |
Vollständiges Eingabeschema anzeigen
{
"type": "object",
"additionalProperties": false,
"properties": {
"receipt": {
"type": "object",
"description": "The complete kind 9735 event. Either this or event_id is required."
},
"event_id": {
"type": "string",
"description": "Event id of the receipt as hex, note or nevent. Fetched from the relays when receipt is not given."
},
"recipient_lightning_address": {
"type": "string",
"description": "Lightning address of the recipient, for example name@domain. Given, the issuer is compared against the nostrPubkey published there."
},
"relays": {
"type": "array",
"maxItems": 12,
"items": {
"type": "string"
},
"description": "wss relay addresses used when fetching by event_id."
}
}
}Veröffentlichtes Eingabebeispiel
{}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,001 USDC
event sign
POSThttps://nostr.halowerk.com/event-signThree 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
- 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