Zum Inhalt
HALOWERK

Nostrwerk

zap radar

Collects kind 9735 zap receipts addressed to one public key over up to twelve relays, merges them by event id and reports who sent how much over the requested window. Every amount comes from decoding the BOLT-11 invoice carried in the receipt, not from the amount tag of the zap request, because the two can disagree and only the invoice was payable.

POST https://nostr.halowerk.com/zap-radar

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
pubkeystringJaRecipient public key as 64 hex characters, npub or nprofile.
daysintegerNeinLength of the window in days, counted back from now.
relaysarrayNeinwss relay addresses. Left empty, ten measured default relays are used.
max_receiptsintegerNeinUpper bound on receipts fetched per relay. Reaching it sets truncated.
top_sendersintegerNeinHow many senders the ranking lists.
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "required": [
    "pubkey"
  ],
  "additionalProperties": false,
  "properties": {
    "pubkey": {
      "type": "string",
      "description": "Recipient public key as 64 hex characters, npub or nprofile."
    },
    "days": {
      "type": "integer",
      "minimum": 1,
      "maximum": 365,
      "default": 30,
      "description": "Length of the window in days, counted back from now."
    },
    "relays": {
      "type": "array",
      "maxItems": 12,
      "items": {
        "type": "string"
      },
      "description": "wss relay addresses. Left empty, ten measured default relays are used."
    },
    "max_receipts": {
      "type": "integer",
      "minimum": 10,
      "maximum": 400,
      "default": 200,
      "description": "Upper bound on receipts fetched per relay. Reaching it sets truncated."
    },
    "top_senders": {
      "type": "integer",
      "minimum": 1,
      "maximum": 50,
      "default": 10,
      "description": "How many senders the ranking lists."
    }
  }
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "pubkey": "beispiel",
  "days": 30,
  "max_receipts": 200,
  "top_senders": 10
}

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

Alle Endpunkte dieses Hubs →