getReceivedZaps
Retrieve zap payments received by a Nostr user’s public key, with options to limit results, specify relays, and validate receipts according to NIP-57 standards.
Instructions
Get zaps received by a public key
Input Schema
Name | Required | Description | Default |
---|---|---|---|
debug | No | Enable verbose debug logging | |
limit | No | Maximum number of zaps to fetch | |
pubkey | Yes | Public key of the Nostr user (hex format or npub format) | |
relays | No | Optional list of relays to query | |
validateReceipts | No | Whether to validate zap receipts according to NIP-57 |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"debug": {
"default": false,
"description": "Enable verbose debug logging",
"type": "boolean"
},
"limit": {
"default": 10,
"description": "Maximum number of zaps to fetch",
"maximum": 100,
"minimum": 1,
"type": "number"
},
"pubkey": {
"description": "Public key of the Nostr user (hex format or npub format)",
"type": "string"
},
"relays": {
"description": "Optional list of relays to query",
"items": {
"type": "string"
},
"type": "array"
},
"validateReceipts": {
"default": true,
"description": "Whether to validate zap receipts according to NIP-57",
"type": "boolean"
}
},
"required": [
"pubkey"
],
"type": "object"
}