3

There are plenty of APIs for pushing to the Bitcoin network, like Smartbit's:

https://www.smartbit.com.au/api

However, the only API I found for Bitcoin Cash was Blocktrail's:

https://www.blocktrail.com/api/docs/lang/nodejs#payments_overview

And they do not seem to have a basic push endpoint.

2 Answers 2

3

I have listed a lot of Bitcoin Cash block explorers here, and most of them are Insight block explorers so I thought they should have Insight API. I checked all of them and the ones with API are:

2
2

All the websites listed in MCCCS' answer are no longer operational.

Instead, you can use https://rest.bitcoin.com/#/rawtransactions/sendRawTransactionSingle and paste in your raw transaction after you press the "try it" button.

Alternatively, you can use this command: curl -X GET "https://rest.bitcoin.com/v2/rawtransactions/sendRawTransaction/{your_raw_tx_here}" -H "accept: */*", replacing {your_raw_tx_here} by your raw transaction.

Update:

You can now use this awesome tool: https://bch.info/en/tools/broadcast to broadcast Bitcoin Cash transactions.

Not the answer you're looking for? Browse other questions tagged or ask your own question.