Example inputPOST /api/v1/x402/base-gas-budget-check
{
"gas_price_gwei": 0.08,
"gas_limit": 21000,
"budget_eth": 0.00001,
"eth_usd": 3500
}
Portable intent card · blockchain-data
Compare a supplied Base gas estimate, fee inputs and spending ceiling before an agent attempts a transaction. The calculation is deterministic and budget-focused; it never signs, broadcasts or moves wallet funds.
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/base-gas-budget-check -m POST -H 'x-delx-source: intent-card-base-gas-budget-check-api' --max-amount 0.001 -b '{"gas_price_gwei":0.08,"gas_limit":21000,"budget_eth":0.00001,"eth_usd":3500}'
{
"gas_price_gwei": 0.08,
"gas_limit": 21000,
"budget_eth": 0.00001,
"eth_usd": 3500
}
{
"intent": "check whether a Base wallet has enough gas budget before an agent payment",
"tool_name": "util_base_gas_budget_check",
"price_usdc": "0.001",
"machine_url": "https://commerce.delx.ai/intents/base-gas-budget-check-api.json"
}
Portable and inspectable