v1

latestOpenAPI 3.1.0CC-02026-07-13565587.3 KB
Transactions

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
post/v2/transactions

Request body

txstring required

Hex-encoded transaction

attachmentstring

Optional hex-encoded attachment for contract-call transactions

Response

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

string required

Example response

"e161978626f216b2141b156ade10501207ae535fa365a13ef5d7a7c9310a09f2"
All 56 operations