Exchange API calls do not consume Quicknode API credits. Transactions through this endpoint are appended with a builder fee. See hyperliquidapi.com for a full breakdown. To white-label with your own builder code, contact us.
This endpoint is not a drop-in replacement for Hyperliquid's native /exchange endpoint. See the Exchange API Overview for key differences.
Body Parameters
- actionobjectREQUIRED
Batch modify action object in wire format (from build-modify response)
- typestring
Action type ("batchModify")
- modifiesarray
Array of order modifications
- oidinteger
Order ID to modify
- orderobject
Modified order parameters in wire format
- ainteger
Asset index
- bboolean
Buy side
- pstring
New price
- sstring
New size
- rboolean
Reduce-only flag
- tobject
Order type specification
- limitobject
Limit order type
- tifstring
Time in force
- nonceintegerREQUIRED
Nonce from build-modify response
- signatureobjectREQUIRED
Wallet signature
- rstring
Signature r value
- sstring
Signature s value
- vinteger
Signature v value
- vaultAddressstring
Optional vault address
- expiresAfterinteger
Optional expiration timestamp (ms)
Returns
- successboolean
Whether the modification was successfully submitted
- userstring
User address (0x-prefixed hex string)
- exchangeResponseobject
Response from Hyperliquid exchange with modification details