The 1inch Limit Order SDK is the official TypeScript library for the Limit Order Protocol. It builds orders, produces the EIP-712 typed data for signing, and submits signed orders to the 1inch Orderbook — the same flow the MCP orderbook tool uses server-side.
- Repository: github.com/1inch/limit-order-sdk
- Language: TypeScript
- Best for: creating, signing, and submitting limit orders from a dApp or backend.
Install
Bash
1
npm install @1inch/limit-order-sdk
Typical flow
- Build an order with your maker/taker assets, amounts, and expiration.
- Approve the maker asset for the Limit Order Protocol contract.
- Sign the returned EIP-712 typed data with
eth_signTypedData_v4. - Submit the signed order to the Orderbook API.
Related
- Orderbook API docs
- Retrieve a full working example through the 1inch MCP server