Actions13
Broadcast Transaction
AI-generatedOverview
This node broadcasts a raw Bitcoin transaction to the Bitcoin network using the Mempool.space API. It is useful for users who want to propagate their signed Bitcoin transactions to the network for confirmation. For example, after creating and signing a Bitcoin transaction offline, a user can use this node to send the raw transaction hex to the network.
Use Case Examples
- Broadcast a raw Bitcoin transaction hex string to the network to initiate a payment or transfer.
- Use this node to propagate a transaction after signing it with a hardware wallet or external tool.
Properties
| Name | Meaning |
|---|---|
| Raw Transaction (Hex) | The raw Bitcoin transaction in hexadecimal format to be broadcasted to the network. |
Output
JSON
txid- The transaction ID of the broadcasted transaction returned by the network.
Dependencies
- Mempool.space API
Troubleshooting
- Ensure the raw transaction hex is correctly formatted and fully signed before broadcasting.
- Common errors include invalid transaction format or network rejection due to double spending or insufficient fees.
- If the node throws an error about unsupported operation, verify that the operation parameter is set to 'broadcastTransaction'.
Links
- Mempool.space API Documentation - Official documentation for the Mempool.space API used to broadcast Bitcoin transactions.