---
title: "Post a signed PSBT to broadcast the swapping transaction"
method: POST
path: "/v2/ord/btc/runes/swap"
tags: ["Runes Swap"]
---

# Post a signed PSBT to broadcast the swapping transaction

`POST /v2/ord/btc/runes/swap`

Post a signed PSBT to broadcast the swapping transaction

## Request body

- PostRuneSwapPsbtRequestSchema
  - `requestId` string, required — The unique request identifier.
  - `signedPsbts` SignedSwapPsbtSchema[], required — An array of signed PSBTs (Partially Signed Bitcoin Transactions).
    - `signedPsbtBase64` string, required — The signed PSBT (Partially Signed Bitcoin Transaction) in base64 format.

## Response `200`

Successful response

- PostRuneSwapPsbtResponseSchema
  - `errors` RuneSwapErrorSchema[], nullable — An array of errors encountered during the swap process.
    - `type` 'legacy-buy' | 'rbf-buy' | 'market-sell', required — The type of the Rune swap transaction error.
    - `message` string, required — The error message.
  - `txs` object[], required — An array of transactions with their types and IDs.
    - `type` 'legacy-buy' | 'rbf-buy' | 'market-sell' — The type of the Rune swap transaction.
    - `txid` string — The transaction ID.

---

[API](https://skmtc.net/magiceden/apis/magic-eden-api.md) · [All operations](https://skmtc.net/magiceden/apis/magic-eden-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/magiceden/magic-eden-api/revisions/66028b292693/schema)
