x402
utility

Margin required for a notional at a given leverage. Call when pre-trade margin checks without exchange APIs. Returns margin required 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.

post/api/v1/x402/margin-required

Request

  • Base URL: https://api.delx.ai
  • URL: https://api.delx.ai/api/v1/x402/margin-required
  • Auth: none declared

Request body

notionalinteger required

Input field: notional.

leverageinteger required

Input field: leverage.

Response

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

schemastring
notionalnumber
leveragenumber
marginnumber

Changes

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