---
title: "Broadcast a transaction (raw or PSBT)"
method: POST
path: "/v1/cryptos/{cryptoCode}/transactions"
tags: ["Transactions"]
---

# Broadcast a transaction (raw or PSBT)

`POST /v1/cryptos/{cryptoCode}/transactions`

Broadcasts a raw transaction or a Partially Signed Bitcoin Transaction (PSBT) to the network for the specified cryptocurrency.

## Path parameters

- `cryptoCode` string, required

## Query parameters

- `testMempoolAccept` boolean

## Request body

- object
  - `hex` string — The raw transaction in hexadecimal format, or finalized PSBT in Base64 or hex.

## Response `200`

Transaction processed successfully.

- object
  - `success` boolean — Whether the transaction was successfully broadcast.
  - `rpcCode` integer — The RPC code returned by the node.
  - `rpcCodeMessage` string — The error code message returned during transaction submission.
  - `rpcMessage` string — The detailed RPC message returned by the node.

## Other responses

- `400` — Bad request. Invalid transaction data.

---

[API](https://skmtc.net/btcpayserver/apis/nbxplorer-api.md) · [All operations](https://skmtc.net/btcpayserver/apis/nbxplorer-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/btcpayserver/nbxplorer-api/revisions/208cac39e31a/schema)
