submitpackage

Submits a package containing multiple raw transactions to the mempool for validation and acceptance.

Path parameters

apiKeystringRequiredDefaults to docs-demo

Request

This endpoint expects an object.
packagelist of stringsRequired

An array of raw transactions (serialized hex strings) to be submitted as a package.

Response

Transaction results keyed by wtxid.

package_msgstring or null

Status message for the package (e.g., “transaction failed”)

tx-resultsmap from strings to objects or null
replaced-transactionslist of strings or null

List of replaced txids (if any)