Renew a zone (500 / 5,000 sats) or hostname (200 / 2,000 sats)
renewExtends a hosted zone, secondary zone or dynamic hostname by 30d or 1y from its current expiry. Needs no token: anyone may pay to extend any name. Paid, no account. Without payment the call returns payment_required with the price, a Lightning invoice and a Cashu payment request; pay only within what your user allowed, then call again with the same arguments plus l402=':', or call with cashu=''. Every request is checked for free before an invoice is made; use check first.
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": {
"kind": "<kind>",
"name": "<name>",
"period": "<period>"
},
"name": "renew"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | What to renew. | |
| l402 | No | Lightning payment proof for a retry: '<macaroon>:<preimage>', where macaroon comes from the payment_required answer of the previous call and preimage is the 64-hex proof your wallet returns after paying its invoice. Use it with the same tool and arguments. | |
| name | Yes | The hosted zone (example.com) or the dynamic hostname (myhome.dynkite.com). | |
| cashu | No | Cashu token (cashuA... or cashuB...) worth at least the price, from an accepted mint (see info). Pays without a previous call. | |
| period | Yes | 30d (30 days) or 1y (365 days). Prices differ: see the tool title. |