Skip to main content

Monaco Protocol SDK v0.5.8

Profile Endpoint Simplification & Market Order Cleanup

This release removes extraneous fields from the /me profile endpoint and eliminates timeInForce from market orders, making both the API and SDK surface more predictable.

Breaking Changes

/me No Longer Returns Balances, Movements, or Orders

GET /api/v1/accounts/me now returns only core profile metadata. The balances, recent_movements, and recent_orders fields have been removed from the response. Before (v0.5.7):
After (v0.5.8):
Use the dedicated endpoints for account data: Migration — Core SDK:
Migration — React SDK: useProfile() now fetches balances, movements, and orders automatically when fetchProfile() is called, and exposes them as top-level state. No manual migration required for most consumers.

timeInForce Removed from Market Orders

timeInForce is no longer accepted for market orders anywhere in the SDK. The API already rejects market orders that include time_in_force with a 400 error. Affected packages: @0xmonaco/types, @0xmonaco/core, @0xmonaco/react timeInForce remains fully supported on limit orders and batch order placement. Migration:

Package Versions

All examples in these docs target the staging network (https://staging.apimonaco.xyz).