jan3_ln_check_username
Checks whether a Lightning username is available before purchase, preventing wasted payment on a taken name. Call this prior to buying to validate availability.
Instructions
Check whether a Lightning username is free before buying it. Call before jan3_purchase_ln_username to avoid paying for a username that's already taken. Requires an active JAN3 session for the email.
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": {
"email": "<email>",
"ln_username": "<ln_username>"
},
"name": "jan3_ln_check_username"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Yes | |||
| ln_username | Yes | Desired username (the local part, before the @domain). |