Transactions
Operations related to broadcasting and retrieving transactions.
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
Transaction ID of successful post of a raw tx to the node's mempool.
e161978626f216b2141b156ade10501207ae535fa365a13ef5d7a7c9310a09f2Pattern: ^[0-9a-f]{64}$Bad request
Internal Server Error
Get a JSON with the transaction details including the index_block_hash, the hex-encoded transaction body, and the result.
Transaction ID (64 hexadecimal characters)
^[0-9a-f]{64}$Transaction JSON with index_block_hash, transaction body and result
Not found
Internal Server Error
Transaction indexing not enabled
Get an unconfirmed transaction by its transaction ID. This looks in both the mempool and unconfirmed microblock stream.
Transaction ID (64 hexadecimal characters)
^[0-9a-f]{64}$Unconfirmed transaction details
Bad request
Not found
Internal Server Error
Query the mempool for transactions that might be missing from the requesting node. This endpoint supports pagination and streaming of transaction data.
Transaction ID to start pagination from
^[0-9a-f]{64}$Binary SIP-003 encoding of MemPoolSyncData
(BloomFilter or TxTags variants).
Transaction IDs
Stream of missing transactions
Binary stream of transactions and pagination data. The stream contains serialized transactions followed by a page ID for continuation.
Bad request
Internal Server Error
Last updated
Was this helpful?
