Create a CreateOrder action.
Order side ("buy" or "sell")
"buy"
"sell"
Price as human-readable string or raw bigint
Quantity as human-readable string or raw bigint
Optional
Order type (default: "Spot")
"Spot"
// Human-readable strings (auto-scaled by SDK):createOrderAction("buy", "0.02", "100")createOrderAction("sell", "0.05", "50", "PostOnly")// Raw bigints (pass-through, already scaled):createOrderAction("buy", 20000000n, 100000000000n) Copy
// Human-readable strings (auto-scaled by SDK):createOrderAction("buy", "0.02", "100")createOrderAction("sell", "0.05", "50", "PostOnly")// Raw bigints (pass-through, already scaled):createOrderAction("buy", 20000000n, 100000000000n)
Create a CreateOrder action.