short_open
Open a lending-based short: deposit collateral -> borrow token -> sell.
Returns an ORDERED STEP PLAN of UNSIGNED base64 txs to sign + broadcast in sequence, plus entry price + health factor + a short_id for tracking. All amounts in base units. The shorted token is authenticity-verified first; set allow_unverified=true to short an unverified mint at your own risk. Past the daily free tier an x402 payment_header is required.
jurisdiction: your ISO-3166-1 alpha-2
country code, self-declared -- synthetic shorting is geo-gated (no US
persons, unknown jurisdiction DENIED). Declare once here (or via
declare_jurisdiction/trade_equity/perps tools) and it is
remembered 90 days.
idempotency_key (optional): a client-generated UUID.
Retrying with the same key + same args replays the original result instead
of re-opening the short.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ip | No | ||
| market | No | ||
| protocol | No | kamino | |
| caller_id | No | ||
| jurisdiction | No | ||
| pay_in_crank | No | ||
| slippage_bps | No | ||
| borrow_amount | Yes | ||
| payment_header | No | ||
| token_to_short | Yes | ||
| wallet_address | Yes | ||
| idempotency_key | No | ||
| allow_unverified | No | ||
| collateral_token | Yes | ||
| marginfi_account | No | ||
| collateral_amount | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||