createBountyInvoice
Create a Lightning invoice for bounty escrow, specifying the issue ID and amount to enable secure payments.
Instructions
Create Lightning invoice for bounty escrow (POST /api/bounty/create). Use GITTR_LNBITS_* env or pass lnbitsUrl + lnbitsAdminKey. Publish kind 9806 after pay via publishBountyToNostr.
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": {
"issueId": "<issueId>",
"amount": "<amount>"
},
"name": "createBountyInvoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | ||
| issueId | Yes | ||
| lnbitsUrl | No | ||
| description | No | ||
| lnbitsAdminKey | No |