Transactions

Broadcast a transaction (raw or PSBT)

Broadcasts a raw transaction or a Partially Signed Bitcoin Transaction (PSBT) to the network for the specified cryptocurrency.

post/cryptos/{cryptoCode}/transactions

Path parameters

cryptoCodestring required

The cryptocurrency code (e.g., 'BTC').

Query parameters

testMempoolAcceptboolean

If true, tests whether the transaction would be accepted into the mempool without broadcasting it.

Request body

hexstring

The raw transaction in hexadecimal format.

psbtstring

The PSBT in Base64 encoding.

Example request

{
  "hex": "0200000001abcd1234...",
  "psbt": "cHNidP8BAHECAAAA..."
}

Response

Transaction processed successfully.

transactionIdstring required

The ID of the transaction.

Example response

{
  "transactionId": "abcd1234..."
}

Changes