Limit Order SDK

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.

Install

Bash
1
npm install @1inch/limit-order-sdk

Typical flow

  1. Build an order with your maker/taker assets, amounts, and expiration.
  2. Approve the maker asset for the Limit Order Protocol contract.
  3. Sign the returned EIP-712 typed data with eth_signTypedData_v4.
  4. Submit the signed order to the Orderbook API.

Did you find what you need?