Example inputPOST /api/v1/x402/block-time-eta
{
"blocks": 10,
"seconds_per_block": 2
}
Portable intent card · chain-primitives-local
Estimate seconds to target block from current height and block time. Call when scheduling waits or SLA checks for confirmation targets. Returns eta_seconds and blocks remaining 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/block-time-eta -m POST -H 'x-delx-source: intent-card-block-time-eta-api' --max-amount 0.001 -b '{"blocks":10,"seconds_per_block":2}'
{
"blocks": 10,
"seconds_per_block": 2
}
{
"intent": "Block Time ETA for an agent workflow",
"tool_name": "util_block_time_eta",
"price_usdc": "0.001",
"machine_url": "https://commerce.delx.ai/intents/block-time-eta-api.json"
}
Portable and inspectable