getAllZaps
Retrieve all sent and received zap payments for a Nostr user by providing their public key, with options to limit results and validate receipts.
Instructions
Get all zaps (sent and received) for a public key
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"pubkey": "<pubkey>"
},
"name": "getAllZaps"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pubkey | Yes | Public key of the Nostr user (hex format or npub format) | |
| limit | No | Maximum number of total zaps to fetch | |
| relays | No | Optional list of relays to query | |
| validateReceipts | No | Whether to validate zap receipts according to NIP-57 | |
| debug | No | Enable verbose debug logging |