The examples on this page use Hyperliquid (
provider: 'hyperliquid'). Replace the provider value with any supported DEX from getProviders().modifyOrders
ModifyOrderInput entries to modify several orders in one call.
ModifyOrderInput fields
| Field | Type | Required | Description |
|---|---|---|---|
id | string | Yes | Order ID to modify |
price | string | No | New limit price |
size | string | No | New order size |
triggerPrice | string | No | New trigger price (for trigger orders) |
limitPrice | string | No | New limit price for trigger execution |