---
title: "Get an unsigned PSBT for creating a rune sell order"
method: POST
path: "/v2/ord/btc/runes/psbt/order/create"
tags: ["Runes Listing"]
---

# Get an unsigned PSBT for creating a rune sell order

`POST /v2/ord/btc/runes/psbt/order/create`

## Request

- Base URL: `https://api-mainnet.magiceden.dev/v2`
- URL: `https://api-mainnet.magiceden.dev/v2/v2/ord/btc/runes/psbt/order/create`
- Auth: none declared
- TypeScript: <https://skmtc.dev/magiceden/apis/magic-eden-api/docs/v2/ord/btc/runes/psbt/order/create/post.ts> (a function with typed inputs; its response is checked against the schema)

Get an unsigned PSBT for creating a rune sell order

## Request body

- PostRunesPSBTOrderCreateRequestSchema
  - `side` 'sell', required: Currently only 'sell' orders are supported.
  - `rune` string, required: Rune symbol must contain only uppercase letters and be between 1 and 26 characters long.
  - `makerRunesPublicKey` union, required: Bitcoin public key, either a standard or x-only format.
    - string
    - string
  - `makerRunesAddress` union, required: Bitcoin address, supporting native segwit, Taproot, or P2SH formats.
    - string
    - string
    - string
  - `makerReceiveAddress` union, required: Bitcoin receive address for the transaction, supporting native segwit, Taproot, or P2SH formats.
    - string
    - string
    - string
  - `utxos` object[], required
    - `location` string, required: Location identifier for the UTXO.
    - `priceSats` integer, required: Price in satoshis, within specified limits.
  - `expiresAt` string, date-time, required: Expiration date and time of the order.

## Response `200`

Successful response

- PostRunesPSBTOrderCreateResultSchema
  - `orderPsbtBase64` string, required: Base64-encoded unsigned PSBT (Partially Signed Bitcoin Transaction) of the sell order.
  - `unsignedRBFProtectedPsbts` UnsignedRBFProtectedPSBTSchema[], required
    - `unsignedPSBTBase64` string: Base64-encoded unsigned PSBT (Partially Signed Bitcoin Transaction) of the RBF protected sell order.
    - `toSignInputs` number[]: Array of input indices to sign.
    - `toSignSigHash` number: Signature hash type for signing.

---

[API](https://skmtc.dev/magiceden/apis/magic-eden-api.md) - [All operations](https://skmtc.dev/magiceden/apis/magic-eden-api/llms.txt) - [OpenAPI document](https://skmtc.dev/magiceden/apis/magic-eden-api/revisions/66028b292693?raw)
