{"ok": true, "service": "H3RETIK Agent Lock", "role": "seller_resource_endpoint", "description": "Low-cost x402 distributed lock for autonomous agents that need exactly-one execution.", "price": "0.0001 USDC", "endpoint": "https://h1dr4.dev/h3retik/api/x402/locks/acquire", "resource": {"url": "https://h1dr4.dev/h3retik/api/x402/locks/acquire", "description": "H3RETIK Agent Lock is a low-cost x402 distributed lock for autonomous agents. Pay Base USDC to acquire a short-lived key, prevent duplicate replies, duplicate bounty creation, double-submitted wallet actions, repeated scrapes, and any workflow that needs exactly-one executor. Use free status before paying when contention matters; release or renew with the returned release token.", "mimeType": "application/json", "serviceName": "H3RETIK Agent Lock", "tags": ["x402", "agent-lock", "distributed-lock", "idempotency", "mutex", "exactly-once", "agent-coordination", "workflow-lock", "base", "usdc"], "iconUrl": "https://h1dr4.dev/og-default.png", "price": "0.0001 USDC"}, "http": {"method": "POST", "unpaid_status": 402, "payment_required_header": "PAYMENT-REQUIRED", "payment_signature_header": "PAYMENT-SIGNATURE", "payment_response_header": "PAYMENT-RESPONSE"}, "free_endpoints": {"status": "GET /v1/agent-locks/status?key=<lock-key>", "release": "POST /v1/agent-locks/release", "renew": "POST /v1/agent-locks/renew"}, "sample_request": {"key": "h1dr4:x-mention:2066895922949464487", "owner": "agent-or-wallet", "ttl_seconds": 900}, "sample_payment_required": {"x402Version": 2, "error": "payment_required", "resource": {"url": "https://h1dr4.dev/h3retik/api/x402/locks/acquire", "description": "H3RETIK Agent Lock is a low-cost x402 distributed lock for autonomous agents. Pay Base USDC to acquire a short-lived key, prevent duplicate replies, duplicate bounty creation, double-submitted wallet actions, repeated scrapes, and any workflow that needs exactly-one executor. Use free status before paying when contention matters; release or renew with the returned release token.", "mimeType": "application/json", "serviceName": "H3RETIK Agent Lock", "tags": ["x402", "agent-lock", "distributed-lock", "idempotency", "mutex", "exactly-once", "agent-coordination", "workflow-lock", "base", "usdc"], "iconUrl": "https://h1dr4.dev/og-default.png", "price": "0.0001 USDC"}, "accepts": [{"scheme": "exact", "network": "eip155:8453", "asset": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913", "amount": "100", "payTo": "0x99eedce3c87adf3de1c9b8b08f1810c168d6e039", "maxTimeoutSeconds": 300, "extra": {"assetTransferMethod": "eip3009", "name": "USD Coin", "version": "2"}}], "extensions": {"bazaar": {"info": {"title": "H3RETIK Agent Lock", "summary": "Acquire a low-cost TTL-bound distributed lock so autonomous agents do not perform the same action twice.", "keywords": ["agent lock", "distributed lock", "idempotency", "mutex", "exactly once", "agent coordination", "workflow coordination", "duplicate prevention", "x402 payment", "Base USDC"], "input": {"type": "http", "method": "POST", "bodyType": "json", "body": {"key": "h1dr4:x-mention:2066895922949464487", "owner": "h1dr4-agent", "ttl_seconds": 900, "metadata": {"purpose": "claim this X mention before replying"}}}, "output": {"type": "json", "example": {"ok": true, "acquired": true, "lock": {"key": "h1dr4:x-mention:2066895922949464487", "lock_id": "lock_example", "owner": "h1dr4-agent", "expires_at": "2026-06-21T00:00:00+00:00"}, "release_token": "capability-token-returned-once"}}}, "schema": {"$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": {"input": {"type": "object", "properties": {"type": {"type": "string", "const": "http"}, "method": {"type": "string", "enum": ["POST"]}, "bodyType": {"type": "string", "enum": ["json"]}, "body": {"type": "object", "properties": {"key": {"type": "string", "minLength": 3, "maxLength": 256}, "owner": {"type": "string", "maxLength": 160}, "ttl_seconds": {"type": "integer", "minimum": 5, "maximum": 86400}, "metadata": {"type": "object"}}, "required": ["key"], "additionalProperties": false}}, "required": ["type", "method", "bodyType", "body"], "additionalProperties": false}, "output": {"type": "object", "properties": {"type": {"type": "string"}, "example": {"type": "object"}}, "required": ["type"]}}, "required": ["input"]}}}}, "use_cases": ["only one agent replies to an X mention", "only one worker creates a bounty or case", "only one wallet transaction is submitted", "only one scraper runs for a target", "only one MCP worker claims a queue item"]}