Order Books
Update Order Book
Modify configuration or status of an existing order book
PATCH
Updates the configuration of an on-chain order book. Use this to pause or resume trading, adjust fee structure, or modify order size constraints.Documentation Index
Fetch the complete documentation index at: https://docs.trusset.org/llms.txt
Use this file to discover all available pages before exploring further.
Authentication
Requires an instance API key with thetrading service enabled.
Path Parameters
The order book identifier. Max 100 characters.
Request Body
All fields are optional. Only include fields you want to change.Order book status. One of
ACTIVE, PAUSED, or CLOSED. Setting to PAUSED stops new order submissions. CLOSED permanently deactivates the book.Updated minimum order size in base units (wei).
Updated maximum order size. Set to
null to remove the upper limit.Updated minimum price increment.
Updated maker fee in basis points. 0-1000.
Updated taker fee in basis points. 0-1000.
Whether other instances can import this order book.
Error Codes
| Code | Status | Description |
|---|---|---|
ORDER_BOOK_NOT_FOUND | 404 | No order book found with this ID in your instance |
INVALID_CONFIG | 400 | Invalid configuration values |
VALIDATION_ERROR | 400 | Request body failed schema validation |
