---
title: "Record channel-submitted order transaction"
method: POST
path: "/api/v1/orders/tx"
tags: ["Trading Orders"]
---

# Record channel-submitted order transaction

`POST /api/v1/orders/tx`

## Request

- Base URL: `https://rwa-api.anchored.finance/rwa/trading`
- URL: `https://rwa-api.anchored.finance/rwa/trading/api/v1/orders/tx`
- Auth: one of:
  - API key in header `x-api-key`
  - API key in header `x-api-nonce`
  - API key in header `x-api-ts`
  - API key in header `x-api-sign`
  - API key in header `x-api-chain-id`
  - API key in header `x-api-p`
- TypeScript: <https://skmtc.dev/synfutures/apis/anchored-trading-partner-api/docs/api/v1/orders/tx/post.ts> (a function with typed inputs; its response is checked against the schema)

## Request body

- TradingOrderTxReqDto
  - `txHash` string, required: Transaction hash submitted by the authenticated channel

## Response `200`

OK

- BaseResponseTradingChannelOrderTx: Base Response
  - `code` integer: if not 200, it means error
  - `errMsg` string: if code not 200,this is error message
  - `data` TradingChannelOrderTx
    - `id` integer
    - `chainId` 1 | 143 | 8453 | 42161 | 4663 | 56 | 11155111 | 10143 | 84532 | 421614 | 46630
    - `productType` 'FUND' | 'Common' | 'MondayTrade' | 'Anchored' | 'Synfutures'
    - `operationType` 'trade' | 'deposit' | 'withdraw' | 'stock_deposit' | 'stock_withdraw' | 'deferred_sell' | 'deferred_repay'
    - `orderId` string
    - `txHash` string
    - `status` 'init' | 'pending' | 'failed' | 'new' | 'partially_filled' | 'filled' | 'done_for_day' | 'canceled' | 'expired' | 'replaced' | 'pending_cancel' | 'pending_replace' | 'accepted' | 'pending_new' | 'accepted_for_bidding' | 'stopped' | 'rejected' | 'suspended' | 'calculated'
    - `createAt` string, date-time
    - `updateAt` string, date-time
  - `uuid` string: every request has a uuid
  - `t` integer: server time

## Other responses

- `400`: Bad Request

---

[API](https://skmtc.dev/synfutures/apis/anchored-trading-partner-api.md) - [All operations](https://skmtc.dev/synfutures/apis/anchored-trading-partner-api/llms.txt) - [OpenAPI document](https://skmtc.dev/synfutures/apis/anchored-trading-partner-api/revisions/8df20ab57300?raw)
