Move a token-bought zone or hostname into your account (free, signature + token)
claimFree: puts a zone or hostname bought with a token into your Nostr account, so you get expiry reminders by DM and can manage it with API keys. If another account owns it, a 72-hour recovery starts instead and that owner is told. Called without nip98 it returns signature_required: the exact URL, method and body to sign, the body's sha256 and an unsigned kind 27235 event template (with proof of work for accounts without a paid order). Sign that, then call again with the same arguments plus nip98. Each signed event works once, within 60 s. Secrets that are ours to receive: object tokens, account API keys (jdk_), signed NIP-98 events; never a private key (nsec or 64 hex characters), wallet connection string or seed words. A raw hex key or seed words inside a sentence cannot be caught here. The signature_required answer shows the body with the token masked; its sha256 covers the real token.
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>",
"token": "<token>"
},
"name": "claim"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | Zone or dynamic hostname. | |
| name | Yes | The zone (example.com) or hostname (myhome.dynkite.com). | |
| nip98 | No | The signed NIP-98 event (base64 of its JSON) for exactly the request the signature_required answer of the same call named. Sign it with your own Nostr signer (local key, NIP-46 bunker or a signer tool); never send the private key itself, in any form (nsec, hex or seed words). | |
| token | Yes | Its token (jdz_... or jdh_...) from the create answer. |