80trust / 100
Allowance
by x402 Spend Cap/Allowance Check in Markets & finance
x402 APIPassing, checked 3 h ago
x402 spend cap and allowance check by Liquid Logic X: call it before paying an x402 endpoint. Input: wallet (the Liquid Logic X treasurer, 0xEA24...) and optional endpoint URL. Output: JSON { allowed, reason, remainingUsdc, capUsdc, spentUsdc } from the published spend policy (allowlist, max per payment, UTC daily cap) and public ledger. Omit endpoint for remaining cap + allowlist. $0.001 USDC on Base. Site: https://liquidlogicx.com
GET https://audit.liquidlogicx.com/api/allowance
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 313 ms typical, 313 ms slowest 5%
- Last check
- 3 h ago
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X GET "https://audit.liquidlogicx.com/api/allowance?endpoint=https%3A%2F%2Faudit.liquidlogicx.com%2Fapi%2Faudit&wallet=0xEA24bafbBAF6d7Ba58bE860EE906f0Fe533d167D"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%2Faudit.liquidlogicx.com%2Fapi%2Fallowance
const res = await pay("https://audit.liquidlogicx.com/api/allowance?endpoint=https%3A%2F%2Faudit.liquidlogicx.com%2Fapi%2Faudit&wallet=0xEA24bafbBAF6d7Ba58bE860EE906f0Fe533d167D");
console.log(await res.json());Example input
{
"endpoint": "https://audit.liquidlogicx.com/api/audit",
"wallet": "0xEA24bafbBAF6d7Ba58bE860EE906f0Fe533d167D"
}Example output
{
"allowed": true,
"asset": "USDC",
"capUsdc": 10,
"day": "2026-09-14",
"endpoint": "https://audit.liquidlogicx.com/api/audit",
"endpointAllowlisted": true,
"maxPerPaymentUsdc": 1,
"network": "eip155:8453",
"reason": "Allowlisted; 9.9 USDC remaining under the UTC daily cap (2026-09-14). Max per payment 1.00 USDC.",
"remainingUsdc": 9.9,
"source": "treasurer_policy",
"spentUsdc": 0.1,
"spentWindow": "utc_calendar_day",
"walletAddress": "0xEA24bafbBAF6d7Ba58bE860EE906f0Fe533d167D"
}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 |
|---|---|---|---|---|
| 3 h ago | Passed | 402 | 298 ms | $0.001 |
| 6 h ago | Passed | 402 | 313 ms | $0.001 |
| 11 h ago | Passed | 402 | 542 ms | $0.001 |