Broadcast transaction

Broadcasts raw transactions on the network.

POST
/v2/transactions

Broadcast raw transaction

Broadcast raw transactions on the network. You can use the @stacks/transactions project to generate a raw transaction payload.

Request Body (Optional)

bodystring

Format: "binary"
Status codeDescription
200Transaction id of successful post of a raw tx to the node's mempool
400Rejections result in a 400 error
/v2/transactions

curl -X POST "http://localhost:20443/v2/transactions" \
  -d 'string'

"e161978626f216b2141b156ade10501207ae535fa365a13ef5d7a7c9310a09f2"