POST /tx

Broadcast a raw transaction to the network.

This method will use 10 Compute Units.


Parameters

hex tx data - string, required in request body.

Returns

The txid will be returned on success.

curl --request POST \
  --url https://mainnet.bitcoin.validationcloud.io/v1/<YOUR_API_KEY>/tx \
  --header 'Content-Type: text/plain' \
  --data <HEX_DATA>

Last updated

Was this helpful?