You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: API.md
+17Lines changed: 17 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -66,6 +66,23 @@ Broadcast a raw transaction to the network.
66
66
The transaction should be provided as hex in the request body.
67
67
The `txid` will be returned on success.
68
68
69
+
### `POST /txs/package`
70
+
71
+
Broadcast a package of raw transactions to the network.
72
+
73
+
A transaction package is a group of related transactions that may depend on each other (e.g., a child transaction spending outputs from an unconfirmed parent transaction). This is useful for CPFP (Child Pays For Parent) and other scenarios where transactions need to be evaluated together.
74
+
75
+
The request body should contain a JSON array of transaction hex strings.
76
+
77
+
Example request body:
78
+
```json
79
+
["02000000...", "02000000..."]
80
+
```
81
+
82
+
Returns a JSON object containing the package acceptance result. On success, returns information about each transaction in the package.
83
+
84
+
*Note:* This endpoint requires Bitcoin Core 28.0 or later.
0 commit comments