getAllZaps
Retrieve all zaps sent and received by a Nostr user using their public key. Specify relays, limit results, and validate receipts for accurate data. Integrates with Nostr MCP Server for streamlined access.
Instructions
Get all zaps (sent and received) for a public key
Input Schema
Name | Required | Description | Default |
---|---|---|---|
debug | No | Enable verbose debug logging | |
limit | No | Maximum number of total 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": 20,
"description": "Maximum number of total 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"
}