Skip to content
Minotaur
+ 05 · API Reference

API · Orders

Submit, sign, attach, cancel, and inspect intent orders. Also exposes the BlockLoop status the dApp polls.

All endpoints below are mounted under /v1 on the validator API (https://api.minotaursubnet.com). The CORS allowlist covers https://app.minotaursubnet.com.

POST /v1/apps/{app_id}/orders

Submit a new order to the Intent OrderBook.

Path parameters

  • app_idstr (required)

Request body

  • reqSubmitOrderRequest (required) (model SubmitOrderRequest)
    • intent_function: str = 'execute'
    • params: dict[str, Any] = {}
    • submitted_by: str
    • chain_id: int = 1
    • deadline: float = 0.0
    • perpetual: bool = False
    • max_executions: int = 1
    • cooldown: float = 0.0
    • user_signature: str = ''

Status code: 201

POST /v1/apps/{app_id}/prepare

Resolve token symbols, chain_id, intent_function, and nonce in one call.

Path parameters

  • app_idstr (required)

Request body

  • reqPrepareOrderRequest (required) (model PrepareOrderRequest)
    • params: dict[str, Any] = {}
    • submitted_by: str = ''
    • intent_function: str = 'execute'
    • chain_id: int = 1

POST /v1/apps/{app_id}/quote

Get an estimated quote for an intent without creating an order.

Path parameters

  • app_idstr (required)

Request body

  • reqQuoteRequest (required) (model QuoteRequest)
    • intent_function: str = 'execute'
    • params: dict[str, Any]
    • chain_id: int = 1
    • slippage_bps: int = 50

GET /v1/blockloop/status

Get block loop tick statistics.

GET /v1/orders

List orders — paginated (newest-first) SUMMARY view.

Query parameters

  • app_idstr | None
  • statusstr | None
  • limitint
  • offsetint
  • fullbool

Headers

  • x_reader_sigstr | None

DELETE /v1/orders/{order_id}

Cancel an open order.

Path parameters

  • order_idstr (required)

Query parameters

  • submitted_bystr
  • owner_signaturestr
  • deadlineint

GET /v1/orders/{order_id}

Get the status of an order.

Path parameters

  • order_idstr (required)

Headers

  • x_reader_sigstr | None

GET /v1/orders/{order_id}/bridge

Get bridge transfer status for a cross-chain order.

Path parameters

  • order_idstr (required)

POST /v1/orders/{order_id}/dry-run

Score a plan against an order without side effects.

Path parameters

  • order_idstr (required)

Request body

  • reqDryRunRequest (required) (model DryRunRequest)
    • interactions: list[dict[str, Any]]
    • deadline: int = 0
    • nonce: int = 0
    • metadata: dict[str, Any] = {}

POST /v1/orders/{order_id}/prepare-direct

Wait for consensus, return executeIntent calldata for user to submit directly.

Path parameters

  • order_idstr (required)

PATCH /v1/orders/{order_id}/signature

Attach a user EIP-712 signature to an existing order.

Path parameters

  • order_idstr (required)

PATCH /v1/orders/{order_id}/tx-confirmed

Mark a user-submitted order as FILLED after the user’s TX lands.

Path parameters

  • order_idstr (required)