Example inputPOST /api/v1/x402/fx-revalue-amount
{
"amount": 100,
"rate_from": 1,
"rate_to": 1.1
}
Portable intent card · data-quality
Revalue amount by two rates (historical vs current). Call when ECB-style revaluation when rates are caller-supplied. Returns revalued_amount as deterministic JSON for $0.002 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/fx-revalue-amount -m POST -H 'x-delx-source: intent-card-fx-revalue-amount-api' --max-amount 0.002 -b '{"amount":100,"rate_from":1,"rate_to":1.1}'
{
"amount": 100,
"rate_from": 1,
"rate_to": 1.1
}
{
"intent": "FX Revalue Amount for an agent workflow",
"tool_name": "util_fx_revalue_amount",
"price_usdc": "0.002",
"machine_url": "https://commerce.delx.ai/intents/fx-revalue-amount-api.json"
}
Portable and inspectable