Pretrade Risk
pretrade_riskPre-trade risk gate: approve / reduce / reject an order against your own declared limits (PAID $0.25)
VALUE: The order gate: approve, reduce or reject an order against the risk limits you declared — and a reduce hands back a size that actually passes, so one bad order never reaches the market.
PRICE: $0.25 USDC per call.
HOW TO PAY: USDC on eip155:8453, exact scheme, to 0xc8fF67FAE72596478599EAAcfad8656fAe1113c8. Sign an EIP-3009 transferWithAuthorization for the exact amount and put it in the X-PAYMENT header, then retry the same call. An unpaid call returns a payment_required payload with the amount, asset, network and payTo already filled in. The synthex-x402 SDK (PyPI and npm) does the 402 -> sign -> retry loop in one call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| as_of | No | ||
| order | No | ||
| limits | No | ||
| account | No | ||
| positions | No |