---
title: "Prepare order transaction"
method: POST
path: "/v0.1/orders/{id}/prepareTx"
tags: ["NFT Sales"]
---

# Prepare order transaction

`POST /v0.1/orders/{id}/prepareTx`

Prepare all required data to match given order on the blockchain

## Path parameters

- `id` string, required

## Request body

- PrepareOrderTxForm
  - `maker` string, required — Blockchain address in Union format `${blockchainGroup}:${token}`
  - `taker` string — Blockchain address in Union format `${blockchainGroup}:${token}`
  - `amount` string, required
  - `payouts` Payout[], required — Value of the payouts for the order
    - `account` string, required — Blockchain address in Union format `${blockchainGroup}:${token}`
    - `value` integer, required
  - `originFees` Payout[], required — Value of the origin fees for the order
    - `account` string, required — Blockchain address in Union format `${blockchainGroup}:${token}`
    - `value` integer, required

## Response `200`

OK

- PrepareOrderTxResponse
  - `transferProxyAddress` string — Blockchain contract address in Union format `ETHEREUM:${token}`
  - `asset` Asset, required
    - `type` union, required
      - object
        - `blockchain` 'APTOS' | 'ETHEREUM' | 'POLYGON' | 'FLOW' | 'SOLANA' | 'IMMUTABLEX' | 'MANTLE' | 'ARBITRUM' | 'CHILIZ' | 'LIGHTLINK' | 'ZKSYNC' | 'ASTARZKEVM' | 'BASE' | 'RARI' | 'CELO' | 'FIEF' | 'XAI' | 'KROMA' | 'ZKLINK' | 'OASYS' | 'QUAI' | 'ECLIPSE' | 'SAAKURU' | 'OASIS' | 'PALM' | 'MATCH' | 'FIVIRE' | 'SEI' | 'CAMP' | 'LISK' | 'MOONBEAM' | 'ETHERLINK' | 'ZKCANDY' | 'ALEPHZERO' | 'BERACHAIN' | 'ABSTRACT' | 'SHAPE' | 'TELOS' | 'HEDERAEVM' | 'VICTION' | 'SETTLUS' | 'GOAT' | 'HYPEREVM' | 'CROSSFI' | 'MEGAETH' | 'MEGAETHTESTNET' | 'BASECAMP' | 'BASECAMPTESTNET' | 'SOMNIA', required
        - `contract` string — Blockchain contract address in Union format `ETHEREUM:${token}`
        - `@type` 'CURRENCY_NATIVE', required
      - object
        - `@type` 'CURRENCY_TOKEN', required
        - `contract` string, required — Blockchain contract address in Union format `ETHEREUM:${token}`
      - object
        - `@type` 'NFT', required
        - `collectionId` string, required — Collection id
        - `itemId` string, required — Item Id, has format `ETHEREUM:${token}:${tokenId}`
        - `standard` 'SINGLE' | 'MULTIPLE'
      - object
        - `@type` 'NFT_OF_COLLECTION', required
        - `collectionId` string, required — Collection id
      - object
        - `@type` 'FLOW_NFT', required
        - `contract` string, required — Blockchain contract address in Union format `ETHEREUM:${token}`
        - `collection` string — Collection id
        - `tokenId` string, required
      - object
        - `@type` 'FLOW_FT', required
        - `contract` string, required — Blockchain contract address in Union format `ETHEREUM:${token}`
      - object
        - `@type` 'ETH', required
        - `blockchain` 'APTOS' | 'ETHEREUM' | 'POLYGON' | 'FLOW' | 'SOLANA' | 'IMMUTABLEX' | 'MANTLE' | 'ARBITRUM' | 'CHILIZ' | 'LIGHTLINK' | 'ZKSYNC' | 'ASTARZKEVM' | 'BASE' | 'RARI' | 'CELO' | 'FIEF' | 'XAI' | 'KROMA' | 'ZKLINK' | 'OASYS' | 'QUAI' | 'ECLIPSE' | 'SAAKURU' | 'OASIS' | 'PALM' | 'MATCH' | 'FIVIRE' | 'SEI' | 'CAMP' | 'LISK' | 'MOONBEAM' | 'ETHERLINK' | 'ZKCANDY' | 'ALEPHZERO' | 'BERACHAIN' | 'ABSTRACT' | 'SHAPE' | 'TELOS' | 'HEDERAEVM' | 'VICTION' | 'SETTLUS' | 'GOAT' | 'HYPEREVM' | 'CROSSFI' | 'MEGAETH' | 'MEGAETHTESTNET' | 'BASECAMP' | 'BASECAMPTESTNET' | 'SOMNIA'
      - object
        - `@type` 'ERC20', required
        - `contract` string, required — Blockchain contract address in Union format `ETHEREUM:${token}`
      - object
        - `@type` 'ERC721', required
        - `contract` string, required — Blockchain contract address in Union format `ETHEREUM:${token}`
        - `collection` string — Collection id
        - `tokenId` string, required
      - object
        - `@type` 'ERC721_Lazy', required
        - `contract` string, required — Blockchain contract address in Union format `ETHEREUM:${token}`
        - `collection` string — Collection id
        - `tokenId` string, required
        - `uri` string, required
        - `creators` Creator[], required — Creators of the target item
          - `account` string, required — Blockchain address in Union format `${blockchainGroup}:${token}`
          - `value` integer, required
        - `royalties` Royalty[], required
          - `account` string, required — Blockchain address in Union format `${blockchainGroup}:${token}`
          - `value` integer, required
        - `signatures` string[], required
      - object
        - `@type` 'ERC1155', required
        - `contract` string, required — Blockchain contract address in Union format `ETHEREUM:${token}`
        - `collection` string — Collection id
        - `tokenId` string, required
      - object
        - `@type` 'ERC1155_Lazy', required
        - `contract` string, required — Blockchain contract address in Union format `ETHEREUM:${token}`
        - `collection` string — Collection id
        - `tokenId` string, required
        - `uri` string, required
        - `supply` string, required
        - `creators` Creator[], required — Creators of the target item
          - `account` string, required — Blockchain address in Union format `${blockchainGroup}:${token}`
          - `value` integer, required
        - `royalties` Royalty[], required
          - `account` string, required — Blockchain address in Union format `${blockchainGroup}:${token}`
          - `value` integer, required
        - `signatures` string[], required
      - object
        - `@type` 'CRYPTO_PUNKS', required
        - `contract` string, required — Blockchain contract address in Union format `ETHEREUM:${token}`
        - `collection` string — Collection id
        - `tokenId` integer, required
      - object
        - `@type` 'GEN_ART', required
        - `contract` string, required — Blockchain contract address in Union format `ETHEREUM:${token}`
        - `collection` string — Collection id
      - object
        - `@type` 'COLLECTION', required
        - `contract` string, required — Blockchain contract address in Union format `ETHEREUM:${token}`
        - `collection` string — Collection id
      - object
        - `@type` 'SOLANA_NFT', required
        - `contract` string — Blockchain contract address in Union format `ETHEREUM:${token}`
        - `collection` string — Collection id
        - `itemId` string, required — Item Id, has format `ETHEREUM:${token}:${tokenId}`
      - object
        - `@type` 'SOLANA_FT', required
        - `address` string, required — Blockchain contract address in Union format `ETHEREUM:${token}`
      - object
        - `@type` 'SOLANA_SOL', required
    - `value` string, required
  - `transaction` PreparedOrderTx, required
    - `to` string, required — Blockchain contract address in Union format `ETHEREUM:${token}`
    - `data` string, required
  - `value` string, required

## Other responses

- `400` — Bad Request
- `404` — Not Found
- `500` — Internal Server Error

---

[API](https://skmtc.net/rarible/apis/openapi-definition.md) · [All operations](https://skmtc.net/rarible/apis/openapi-definition/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/rarible/openapi-definition/revisions/5d2651b9411d/schema)
