x402
utility

Check a caller-supplied Base gas price and gas limit against an ETH transaction budget with exact Wei arithmetic. Use with a gas quote supplied by the caller to fail closed before signing. Returns estimated fee, budget headroom, and an optional USD estimate for $0.001 USDC via x402 on Base or Solana; no live RPC or custody.

post/api/v1/x402/base-gas-budget-check

Request

  • Base URL: https://api.delx.ai
  • URL: https://api.delx.ai/api/v1/x402/base-gas-budget-check
  • Auth: none declared

Request body

gas_price_gweinumber required
gas_limitinteger required
budget_ethnumber required
eth_usdnumber

Response

Paid utility result. Downstream tool errors are returned as structured result payloads with HTTP 200 after payment succeeds.

schemastring
estimated_fee_weistring
estimated_fee_ethstring
budget_weistring
budget_ethstring
within_budgetboolean
headroom_weistring
headroom_ethstring
estimated_fee_usdstring

Changes

No recorded changes to this operation across all 1 revision of this API.