{"uid":"cap_Dlv_2BrN7sVWJ1oR7BbvM","slug":"distributed-lock-release-onchain-trading-intelligence-platform-c25c524c","name":"Distributed Lock Release — Onchain & Trading Intelligence Platform","description":"Release a distributed lock you hold. Send { name, token, holder? }.","url":"https://x402-services-production.up.railway.app/api/lock/release","method":"POST","headers":{},"bodySchema":{"type":"object","required":["name","token"],"properties":{"name":{"type":"string","description":"Lock name"},"token":{"type":"string","description":"Your secret token"},"holder":{"type":"string","description":"Holder id from acquire"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_8G2hClsrrBSt9zac0H2Pd","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Releases a named distributed lock by providing the lock name and secret token, optionally scoped to a specific holder ID","exampleAgentPrompt":"Release the distributed lock named 'trade-execution-btc' using my secret token 'tok_abc123', for holder ID 'agent-7'.","exampleUseCases":[{"title":"Coordinated multi-agent trade execution","prompt":"My trading agent just finished executing the BTC swap — go ahead and release the lock named 'btc-swap-lock' with token 'tok_xyz789' so the next agent in the queue can proceed."},{"title":"Resource cleanup after on-chain operation","prompt":"The on-chain portfolio rebalance is done. Release the lock called 'portfolio-rebalance' using secret token 'tok_rebal42' and holder ID 'rebalancer-1' so the system knows it's free."},{"title":"Freeing a Solana snipe lock post-execution","prompt":"We finished sniping that pump.fun launch — release the lock named 'solana-snipe-queue' with token 'tok_snipe99' so the next snipe job can acquire it."}],"resultDescription":"Returns a confirmation that the named lock has been released and is now available for other processes to acquire. May include the updated lock state or a success/failure status.","failureModes":["Invalid or expired token — returns authorization error","Lock name does not exist — returns not found error","Holder ID mismatch — lock not released if holder doesn't match","Lock already released — may return conflict or idempotency error","Network timeout on Railway-hosted service — transient 5xx error"],"whenToPreferThis":"Use this endpoint when you need to release a distributed lock that was previously acquired via the companion acquire endpoint on this same platform, specifically within workflows coordinated by AI trading or on-chain agents that use this service's concurrency primitives. Prefer this over generic lock services when your workflow already uses this platform's pay-per-call model.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T19:00:27.174Z","isFirstParty":false}