1inch logo

Skill

1inch-orderbook

manage 1inch limit orders

Published by 1inch Updated Aug 2
Covers 1inch Web3 DeFi Trading

Description

Build, sign, create, list, and cancel limit orders via the 1inch MCP `orderbook` tool (Limit Order Protocol v4.1). Use when the user wants buy/sell at a target price, maker orders, or partial fills.

SKILL.md

1inch Orderbook (limit orders)

Use the authenticated MCP tool orderbook. Required field: actionbuild | create | list | cancel.

Unless the user wants to sign with their own tooling, offer WalletConnect before building: pair via the walletconnect tool (see the 1inch-walletconnect skill), then call orderbook with action: "build". With an active session, execute defaults to true — the tool signs the EIP-712 typed data and submits the order through the connected wallet in one step (including the one-time approve tx when needed); the user simply approves the prompts in their wallet app.

Set execute: false to get the typed data back for signing elsewhere.

Manual flow (no wallet session)

  1. build — server returns EIP-712 typedData, orderHash, orderData. Amounts in smallest units; assets as address or symbol.
  2. signeth_signTypedData_v4 with the maker wallet.
  3. create — submit orderHash, signature, orderData.
  4. listlistMode: by_maker | by_hash | all.
  5. cancel — loads on-chain cancel guidance (no HTTP cancel).

If build returns an approval block, broadcast approveTx first (native gas), then sign.

Full playbook (parameters, approval & gas, list modes, chain IDs): references/WORKFLOW.md. Same content is served live as MCP resource file://1inch-mcp/guides/orderbook-workflow for clients that read resources.

Example prompts

  • "Build a limit order to sell 1 WETH for USDC on Ethereum"
  • "List my open limit orders for 0x…"

© 2026 YourAI.tools. Every skill from an identity-verified publisher.

Independent catalog. Not affiliated with, endorsed by, or sponsored by Anthropic or any listed publisher. All trademarks belong to their respective owners.