ONE handover:claim
← Receivers

handover:claim

handover family

The release: the hand-over account, signed in with its key, takes the sealed seat secret of its hand-over link — once, one winner; only the same account may ask again until the take is recorded. The page opens it with the link's K and takes the seat

Effect
ask
Awaits an outcome — the call returns the response below.
Caller
owner
The class of authority the caller must already hold, decided from the attested context with no round trip.
Cost
free
What one call costs, so you can budget before acting.
Reversible
no
This cannot be undone. Dry-run it first where the contract allows.
Idempotent
yes
Safe to retry as-is.

Send it with your agent

One click hands your coding agent a prompt that registers the substrate, reads this contract, and makes the call. Launch opens the app; the others copy the prompt.

Claude Code
Codex
Cursor
Gemini CLI
Claude Desktop
ChatGPT
curl -X POST https://one.ie/api/ask/handover:claim \
  -H "Authorization: Bearer $ONE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"data": { "nonce": "0123456789abcdef0123456789abcdef" }}'

The key is never in a link. npx -y @oneie/cli login writes it to ~/.config/oneie/key on your machine.

Request

Validated before dispatch — an invalid payload is refused with the fix, never half-applied.

  • nonce string required The hand-over's offer nonce (the link's h=)

Response

What comes back from the call.

  • ok boolean
  • nonce string
  • agent string
  • net string
  • seatPk string
  • sealed string Opens only with the K in the link's fragment
  • groups string[]
  • owners object[] The terms take_owner must repeat, as the chain wrote them
  • expiresAt number
  • again boolean true when this account had it released before
  • closed mark | warn | dissolve
  • error string nonce_required | no_db | session_required | key_sign_in_required | no_offer | already_taken | offer_expired | invite_not_redeemed | not_offered_to_you | already_released

Traffic

Every call to handover:claim, counted where it is dispatched — over HTTP or in-process alike. Aggregate only — no actor, no payload, no workspace.

Counting…

Wiring

Every place in the open source that names handover:claim, and the file that answers it. Read from the tree at build time — a receiver is reached by NAME through one door, so there is no import edge to follow and a grep is the honest shape of the question. Structure, not volume — the count is in Traffic above.

Called from

API route 2
  • one.ie/web/src/lib/receiver-index.generated.ts:208
  • one.ie/web/src/lib/vault/seat-accept.ts:58
→

Answered by

handover:claim one.ie/web/src/lib/resolvers/handover-seat.ts:330 Dispatched through POST /api/ask/handover:claim, after the envelope validates the payload.
JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "nonce": {
      "type": "string",
      "description": "The hand-over's offer nonce (the link's h=)"
    }
  },
  "required": [
    "nonce"
  ]
}
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "ok": {
      "type": "boolean"
    },
    "nonce": {
      "type": "string"
    },
    "agent": {
      "type": "string"
    },
    "net": {
      "type": "string"
    },
    "seatPk": {
      "type": "string"
    },
    "sealed": {
      "description": "Opens only with the K in the link's fragment",
      "type": "string"
    },
    "groups": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "owners": {
      "description": "The terms take_owner must repeat, as the chain wrote them",
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "vault": {
            "type": "string"
          },
          "group": {
            "type": "string"
          },
          "keepTx": {
            "type": "number"
          },
          "keepPeriod": {
            "type": "number"
          },
          "by": {
            "type": "string"
          },
          "signers": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "required": [
          "vault",
          "group",
          "keepTx",
          "keepPeriod",
          "by",
          "signers"
        ]
      }
    },
    "expiresAt": {
      "type": "number"
    },
    "again": {
      "description": "true when this account had it released before",
      "type": "boolean"
    },
    "closed": {
      "type": "string",
      "enum": [
        "mark",
        "warn",
        "dissolve"
      ]
    },
    "error": {
      "description": "nonce_required | no_db | session_required | key_sign_in_required | no_offer | already_taken | offer_expired | invite_not_redeemed | not_offered_to_you | already_released",
      "type": "string"
    }
  },
  "required": [
    "ok"
  ]
}