Mempool.space API icon

Mempool.space API

Accède aux données Bitcoin via l'API Mempool.space - Mempool live, fees recommandées, détails blocs & transactions

Broadcast Transaction

AI-generated

Overview

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

  1. Broadcast a raw Bitcoin transaction hex string to the network to initiate a payment or transfer.
  2. 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

Discussion