{"uid":"cap_C5UimemWRBxD8iIuLvJQ6","slug":"delx-bridge-cost-budget-cebd1f50","name":"Delx Bridge Cost Budget","description":"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.","url":"https://api.delx.ai/api/v1/x402/bridge-cost-budget","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"gas_usd":{"type":"number","description":"Estimated gas cost in USD"},"slippage_usd":{"type":"number","description":"Slippage budget in USD"},"bridge_fee_usd":{"type":"number","description":"Bridge fee in USD"}}},"responseSchema":{"type":"json","example":{"schema":"delx/util-bridge-cost-budget/v1","components":{"gas_usd":1.2,"slippage_usd":0.3,"bridge_fee_usd":0.5},"total_cost":2}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_azu4RTVR8697WpGrU9QAu","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Aggregates gas, slippage, and bridge fee components into a total cross-chain bridge cost budget in USD.","exampleAgentPrompt":"Can you calculate my total bridge cost budget given a gas cost of $1.20, a slippage budget of $0.30, and a bridge fee of $0.50?","exampleUseCases":[{"title":"DeFi bridge cost pre-flight check","prompt":"Before I bridge my tokens to Arbitrum, add up the gas cost of $2.00, slippage of $0.75, and the bridge protocol fee of $1.50 so I know my total spend."},{"title":"Agent workflow cost gating","prompt":"My agent is about to execute a bridge — sum up gas at $0.80, slippage at $0.20, and bridge fee at $0.40, and stop the operation if the total exceeds $2.00."},{"title":"Multi-hop bridge budget estimation","prompt":"I'm comparing two bridging routes. For route A, can you total up gas of $3.00, slippage of $1.00, and a bridge fee of $0.60 so I can compare it against route B?"}],"resultDescription":"Returns a JSON object with the schema identifier 'delx/util-bridge-cost-budget/v1', a components object breaking down gas_usd, slippage_usd, and bridge_fee_usd as submitted, and a total_cost field representing their sum in USD.","failureModes":["Missing or non-numeric input fields may cause validation errors or incorrect totals","Negative values for cost components may produce unexpected results","If any field is omitted the total may undercount actual bridge cost"],"whenToPreferThis":"Use this endpoint when an AI agent or workflow needs to programmatically aggregate the three standard components of a cross-chain bridge transaction (gas, slippage, bridge fee) into a validated, schema-versioned total cost object, especially when downstream logic depends on a structured cost breakdown rather than a simple sum.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T07:14:51.188Z","isFirstParty":false}