liquidation_price
Liquidation price for a long or short at a given entry, leverage and maintenance margin. 0.001 USDC per call via x402.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| side | Yes | long or short | |
| entry | Yes | Entry price | |
| leverage | Yes | Leverage, e.g. 5 | |
| paymentProof | No | Payment proof: USDC tx hash on Polygon or Base (0x...) or Solana tx signature. Omit on the first call to receive the 402 payment instructions, pay, then call again with the proof. | |
| maintenanceMarginPct | No | Maintenance margin percent |