cast_ban_vote
Vote in an active ban election with a Lightning payment. Verifies npub membership, validates election status, and records your vote.
Instructions
Cast a Lightning-funded vote in an active ban election.
Not yet implemented — will verify npub membership, validate the election is active, and record the vote with a Lightning payment proof.
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": {
"election_id": "<election_id>",
"vote": "<vote>",
"npub": "<npub>"
},
"name": "cast_ban_vote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| npub | Yes | ||
| vote | Yes | ||
| election_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||