← Back to directory

Distributed lease lock with fencing tokens for agent swarms: acquire, renew and ...

https://denk.halowerk.com/v1/lease-lock

Overview

Distributed lease lock with fencing tokens for agent swarms: acquire, renew and release a named lock with a TTL. Namespaced leases: "acquire" grants the lock to an owner id if it is free or expired and returns a monotonically increasing fencing token; "renew" extends a lease held by the same owner; "release" frees it; "status" shows holder and expiry. TTL 5 seconds to 1 hour. Fencing tokens let downstream systems reject writes from a stale holder.

Protocol x402 (POST)
Price $0.0020
Payment Asset USD Coin
Payment Network eip155:8453
Category uncategorized
Provider denk
Source bazaar
Indexed 2026-11-24 12:33:25

Health

Status unknown
Latency (p50) —
Uptime (30d) —
Reliability Score —
Last Checked Never
Last Healthy Never
Consecutive Failures 0

x402 Payment Validation

Payment Requirements —
Asset Verified —
Facilitator —

Input Schema

{ "body": { "action": "acquire", "lock": "nightly-report", "namespace": "my-agents", "owner": "worker-7", "secret": "a-long-random-secret-123", "ttl_seconds": 120 }, "bodyType": "json", "method": "POST", "type": "http" }

Output Schema

{ "example": { "result": { "acquired": true, "expires_at": "2026-11-19T15:19:30.256Z", "fencing_token": 1, "held": true, "lock": "nightly-report", "owner": "worker-7" }, "service": "lease-lock", "status": "success" }, "type": "json" }