DELXCOMMERCE Live contract

Local chain primitives · chain-primitives-local

Bridge Cost Budget

Sum gas + bridge fee + slippage budget into total cost. Call when comparing bridge routes with known component costs. Returns total_cost and components 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.

x402agentslocal-firstmicro-usdcpay-per-callexpansion-100chain-primitives-local

One-command purchase

Run it from an agent.

No account or API key. AgentCash reads the 402 challenge, pays no more than the declared cap, retries the request and returns the result.

npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/bridge-cost-budget -m POST -H 'x-delx-source: product-page' --max-amount 0.001 -b '{"gas_usd":1.2,"bridge_fee_usd":0.5,"slippage_usd":0.3}'
InputPOST /api/v1/x402/bridge-cost-budget
{
  "gas_usd": 1.2,
  "bridge_fee_usd": 0.5,
  "slippage_usd": 0.3
}
Delivered resultapplication/json
{
  "schema": "delx/util-bridge-cost-budget/v1",
  "total_cost": 2,
  "components": {
    "gas_usd": 1.2,
    "bridge_fee_usd": 0.5,
    "slippage_usd": 0.3
  }
}

Machine-readable evidence

Inspect before paying.