check_ban_status
Checks an npub's membership status to determine if it is banned under the DPYC Social Contract. Returns true only for known banned members, letting operators enforce bans during credit purchases.
Instructions
Check whether an npub is banned from the DPYC Social Contract.
Looks up the member in the community registry and checks whether their status is "banned". Unknown npubs are not considered banned (they simply aren't members).
Free, unauthenticated. Used by operators during the cold path (credit purchases) to enforce community bans.
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": {
"npub": "<npub>"
},
"name": "check_ban_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| npub | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||