Documentation Index
Fetch the complete documentation index at: https://docs.ostium.com/llms.txt
Use this file to discover all available pages before exploring further.
Inputs
pairId: fromgetPairs()buy:truefor long,falsefor shortprice: current market pricecollateral: USD stringleverage: leverage string
Notes
- slippage applies to market orders
- builder fees apply automatically if configured at client construction