Acquire a distributed mutex lock for resource coordination
Acquire a distributed mutex lock for resource coordination
10000 (raw units)
price
2
calls / 30d
2
unique payers
2026-09-13
updated
Provider
entropy.rip · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x4293f75E69b22Ee68AfA0F464dE86E5CD80BED75",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "10000",
"maxTimeoutSeconds": 60
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"body": {
"resource": "shared_db",
"ttl_seconds": 30
},
"bodyType": "json",
"method": "POST",
"type": "http"
},
"output": {
"example": {
"expires_at": "2026-07-14T10:00:30Z",
"lock_id": "lock_xyz...",
"success": true
},
"type": "json"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"properties": {
"resource": {
"type": "string"
},
"ttl_seconds": {
"type": "integer"
}
},
"required": [
"resource",
"ttl_seconds"
],
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
}
}Use it
curl
curl "https://entropy.rip/api/gate/acquire" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://entropy.rip/api/gate/acquire");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://entropy.rip/api/gate/acquire")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/3010.json, and this resource appears in /discovery/resources and /discovery/search.