Example inputPOST /api/v1/x402/confirmations-needed
{
"tx_block": 100,
"head_block": 105,
"target": 12
}
Portable intent card · chain-primitives-local
Compute confirmations remaining from head and inclusion block. Call when progress bars and readiness gates for deposit/finality logic. Returns confirmations observed vs needed as deterministic JSON for $0.001 USDC via x402 on Base. First-party local math only—no RPC, live market feed, API keys, storage, or mediagen. Advisory only; the caller owns capital, risk, and production controls.
Intent to transaction
The source header follows this discovery route through challenge, payment and delivery without exposing the buyer or request body.
npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/confirmations-needed -m POST -H 'x-delx-source: intent-card-confirmations-needed-api' --max-amount 0.001 -b '{"tx_block":100,"head_block":105,"target":12}'
{
"tx_block": 100,
"head_block": 105,
"target": 12
}
{
"intent": "Confirmations Needed for an agent workflow",
"tool_name": "util_confirmations_needed",
"price_usdc": "0.001",
"machine_url": "https://commerce.delx.ai/intents/confirmations-needed-api.json"
}
Portable and inspectable