---
title: "Build a broadcast-ready transaction for a previously issued quote"
method: POST
path: "/submit"
tags: ["submit"]
---

# Build a broadcast-ready transaction for a previously issued quote

`POST /submit`

## Request body

- SubmitRequest
  - `quoteId` string, required
  - `user` string, required — 20-byte hex address. The sentinel `0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE` (or the zero address) signals the chain's native asset (ETH on Base) and is recognized in `tokenIn`/`tokenOut`.
  - `useNativeIn` boolean — Override `routePlan.nativeIn`. When true the router wraps `msg.value` to WETH before dispatching legs.
  - `unwrapNativeOut` boolean — Override `routePlan.nativeOut`. When true the router unwraps WETH to ETH for the recipient.
  - `permit` PermitPayload
    - `value` string, required — Non-negative integer encoded as a decimal string (wei).
    - `deadline` integer, required — Unix timestamp (seconds) at which the permit expires.
    - `v` integer, required
    - `r` string, required — Hex-encoded bytes.
    - `s` string, required — Hex-encoded bytes.
  - `gasPriceWei` string — Non-negative integer encoded as a decimal string (wei).
  - `maxFeePerGasWei` string — Non-negative integer encoded as a decimal string (wei).
  - `maxPriorityFeePerGasWei` string — Non-negative integer encoded as a decimal string (wei).

## Response `200`

Transaction payload

- SubmitResponse
  - `quoteId` string, required
  - `chainId` integer, required
  - `to` string, required — 20-byte hex address. The sentinel `0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE` (or the zero address) signals the chain's native asset (ETH on Base) and is recognized in `tokenIn`/`tokenOut`.
  - `data` string, required — Hex-encoded bytes.
  - `value` string, required — Non-negative integer encoded as a decimal string (wei).

## Other responses

- `400` — Validation error
- `401` — Missing or incorrect x-api-key
- `404` — quoteId is unknown or expired (TTL elapsed)
- `429` — Sliding-window rate limit exceeded (default 120/min/IP)

---

[API](https://skmtc.net/o1/apis/o1-dex-aggregator-api.md) · [All operations](https://skmtc.net/o1/apis/o1-dex-aggregator-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/o1/o1-dex-aggregator-api/versions/1f515e2b6102/schema)
