---
title: "Broadcast raw transaction"
method: POST
path: "/v2/transactions"
tags: ["Transactions"]
---

# Broadcast raw transaction

`POST /v2/transactions`

Broadcast raw transactions on the network. You can use the [@stacks/transactions](https://github.com/blockstack/stacks.js)
project to generate a raw transaction payload.

The node performs static validation checks on transactions before accepting them into the mempool, including:
- Transaction format validation
- Signature verification
- Nonce checking
- Fee validation
- Size limits

## Request body

- object
  - `tx` string, required — Hex-encoded transaction
  - `attachment` string — Optional hex-encoded attachment for contract-call transactions

## Response `200`

Transaction ID of successful post of a raw tx to the node's mempool.

- string

## Other responses

- `400` — Bad request
- `500` — Internal Server Error

## Changes

- **2026-01-28** `30468ca2533f` — 2 breaking, 1 info
  - request body became required
  - the request's body minLength was increased from `0` to `1`
  - added the media type `text/plain` for the response with the status `400`
- **2026-01-14** `f7f733b4a1fc` — 1 breaking, 2 info
  - removed the media type `text/plain` for the response with the status `400`
  - request body became optional
  - the request's body minLength was decreased from `1` to `0`
- **2026-01-14** `eb2153a4a3ad` — 2 breaking, 1 info
  - request body became required
  - the request's body minLength was increased from `0` to `1`
  - added the media type `text/plain` for the response with the status `400`
- **2026-01-02** `96224b968a3e` — 1 breaking, 2 info
  - removed the media type `text/plain` for the response with the status `400`
  - request body became optional
  - the request's body minLength was decreased from `1` to `0`
- **2025-12-18** `97e7080a8130` — 2 breaking, 1 info
  - request body became required
  - the request's body minLength was increased from `0` to `1`
  - added the media type `text/plain` for the response with the status `400`

[Full history](https://skmtc.dev/stacks-network/apis/stacks-3-0-rpc-api/changes/v2/transactions/post.md)

---

[API](https://skmtc.dev/stacks-network/apis/stacks-3-0-rpc-api.md) · [All operations](https://skmtc.dev/stacks-network/apis/stacks-3-0-rpc-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/stacks-network/stacks-3-0-rpc-api/revisions/bfe6e0b30f62/schema)
