80trust / 100
Lockbox
by Cyre in Onchain & crypto
x402 APIPassing, checked 1 h ago
Cyre Intent Lockbox — seal your intentHash before you pay so any party can later prove the hash was locked pre-settle. Bearer holds the token. Patterns, not verdicts. Agent guide: https://cyre.dev/SKILL.md
GET https://cyre.dev/api/lockbox
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 237 ms typical, 237 ms slowest 5%
- Last check
- 1 h ago
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X GET "https://cyre.dev/api/lockbox?action=pay&actor=9WzDXwBbmkg8ZTbNMqUxvQRAyrZzDsGYdLVL9zYtAWWM&amountAtomic=10000&intentHash=aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa&network=eip155%3A8453&payTo=0x9Ff25C4acf1DcDDf15fD2702C127A285f1dFa712&resourceUrl=https%3A%2F%2Fexample.com%2Fapi%2Fpaid"import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
const client = new x402Client().register(
"eip155:8453",
new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fcyre.dev%2Fapi%2Flockbox
const res = await pay("https://cyre.dev/api/lockbox?action=pay&actor=9WzDXwBbmkg8ZTbNMqUxvQRAyrZzDsGYdLVL9zYtAWWM&amountAtomic=10000&intentHash=aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa&network=eip155%3A8453&payTo=0x9Ff25C4acf1DcDDf15fD2702C127A285f1dFa712&resourceUrl=https%3A%2F%2Fexample.com%2Fapi%2Fpaid");
console.log(await res.json());Example input
{
"action": "pay",
"actor": "9WzDXwBbmkg8ZTbNMqUxvQRAyrZzDsGYdLVL9zYtAWWM",
"amountAtomic": "10000",
"intentHash": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"network": "eip155:8453",
"payTo": "0x9Ff25C4acf1DcDDf15fD2702C127A285f1dFa712",
"resourceUrl": "https://example.com/api/paid"
}Example output
{
"disclaimer": "Patterns, not verdicts.",
"kind": "cyre-lockbox",
"ok": true,
"token": "…"
}Security scan
- No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 1 h ago | Passed | 402 | 273 ms | $0.002 |
| 5 h ago | Passed | 402 | 237 ms | $0.002 |
| 10 h ago | Passed | 402 | 157 ms | $0.002 |