v1
latestOpenAPI 3.0.02026-07-174823135.4 KBTransactions
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/v1/cryptos/{cryptoCode}/transactions
Path parameters
cryptoCodestring required
The cryptocurrency code to track (e.g., 'BTC' for Bitcoin, 'LTC' for Litecoin).
Query parameters
testMempoolAcceptboolean
If true, tests whether the transaction would be accepted into the mempool without broadcasting it.
Request body
Example request
{
"hex": "0200000001..."
}Response
Transaction processed successfully.
Example response
{
"rpcCode": -25,
"rpcCodeMessage": "General error during transaction submission",
"rpcMessage": "bad-txns-inputs-missingorspent"
}