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