Broadcast raw transaction
Broadcast raw transactions on the network. You can use the @stacks/transactions 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
Response
Transaction ID of successful post of a raw tx to the node's mempool.
Example response
"e161978626f216b2141b156ade10501207ae535fa365a13ef5d7a7c9310a09f2"
Changes
Changed in 14 of the 53 revisions of this API.2129
- ▲
request body became required
request-body-became-required
- ▲
the request's body minLength was increased from
0to1request-body-min-length-increased
- ○
added the media type
text/plainfor the response with the status400response-media-type-added
- ▲
- ▲
removed the media type
text/plainfor the response with the status400response-media-type-removed
- ○
request body became optional
request-body-became-optional
- ○
the request's body minLength was decreased from
1to0request-body-min-length-decreased
- ▲
- ▲
request body became required
request-body-became-required
- ▲
the request's body minLength was increased from
0to1request-body-min-length-increased
- ○
added the media type
text/plainfor the response with the status400response-media-type-added
- ▲
- ▲
removed the media type
text/plainfor the response with the status400response-media-type-removed
- ○
request body became optional
request-body-became-optional
- ○
the request's body minLength was decreased from
1to0request-body-min-length-decreased
- ▲
- ▲
request body became required
request-body-became-required
- ▲
the request's body minLength was increased from
0to1request-body-min-length-increased
- ○
added the media type
text/plainfor the response with the status400response-media-type-added
- ▲
- ▲
removed the media type
text/plainfor the response with the status400response-media-type-removed
- ○
request body became optional
request-body-became-optional
- ○
the request's body minLength was decreased from
1to0request-body-min-length-decreased
- ▲
- ▲
request body became required
request-body-became-required
- ▲
the request's body minLength was increased from
0to1request-body-min-length-increased
- ○
added the media type
text/plainfor the response with the status400response-media-type-added
- ▲
- ▲
removed the media type
text/plainfor the response with the status400response-media-type-removed
- ○
request body became optional
request-body-became-optional
- ○
the request's body minLength was decreased from
1to0request-body-min-length-decreased
- ▲
- ▲
request body became required
request-body-became-required
- ▲
the request's body minLength was increased from
0to1request-body-min-length-increased
- ○
added the media type
text/plainfor the response with the status400response-media-type-added
- ▲
- ▲
removed the media type
text/plainfor the response with the status200response-media-type-removed
- ○
api operation id
post_core_node_transactionsremoved and replaced withbroadcastTransactionapi-operation-id-removed
- ○
added the media type
application/jsonto the request bodyrequest-body-media-type-added
- ○
added the media type
application/jsonfor the response with the status200response-media-type-added
- ○
added the non-success response with the status
500response-non-success-status-added
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲